# Random numbers 1-13 that don't repeat more than once

**URL:** <https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269>\
**Category:** Coding Questions\
**Created:** [January 22, 2020, 11:02pm UTC](https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269 "2020-01-22T23:02:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [January 23, 2020, 8:40am UTC](https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269/5 "2020-01-23T08:40:45Z")

</div>

```auto
final IntList sequence = IntList.fromRange(1, 14);
println(sequence);//IntList size=13 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]

sequence.shuffle(this);
println(sequence);

exit();

```

---

_[View the full topic](https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269)._
