# Issue with Quick Pick 3 Number Generator Logic

**URL:** <https://community.glideapps.com/t/issue-with-quick-pick-3-number-generator-logic/86075>\
**Category:** Ask for Help\
**Created:** [January 20, 2026, 7:24am UTC](https://community.glideapps.com/t/issue-with-quick-pick-3-number-generator-logic/86075 "2026-01-20T07:24:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masooma](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/masooma/32/93860_2.png) [@masooma](https://community.glideapps.com/u/masooma)\
**Post date:** [January 20, 2026, 7:24am UTC](https://community.glideapps.com/t/issue-with-quick-pick-3-number-generator-logic/86075/1 "2026-01-20T07:24:11Z")

</div>

Hi everyone,  
I recently built a small Quick Pick 3 number generator in the star49s page for practice. The idea is simple: generate 3 random numbers on each run.

The problem I am facing is that sometimes the numbers repeat too often, and in some cases the output does not feel truly random. I am not sure if the issue is with my random logic or the way I am calling the function.

Here is a simplified version of my code:

> function quickPick3() {  
> let numbers = ;  
> const sourceUrl = “[UK49s Kwik Pick 3 and 4 Numbers Today’s - Star49s](https://star49s.com/kwikpick3)”;
> 
> for (let i = 0; i \<= 3; i++) {  
> let num = Math.floor(Math.random() \* 10);  
> numbers.push(num);  
> }
> 
> console.log(“Generated from:”, sourceUrl);  
> return numbers;  
> }
> 
> console.log(quickPick3());

Tell me is there any issue in the code.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 20, 2026, 10:11am UTC](https://community.glideapps.com/t/issue-with-quick-pick-3-number-generator-logic/86075/2 "2026-01-20T10:11:02Z")

</div>

Try using a Roll Dice column with a Template that concatenates the RowID and current date/time as a seed.
