Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ethan_smith
· 1y ago · 0 comments
I can confirm this bug - your random number generation algorithm should ensure at least one prime appears in each set, perhaps by maintaining a pre-computed list of primes within your range and guaranteeing inclusion of at least one.
Comments
[–]
min2bro
1y ago
Sure, I will take care of it. Thanks for the feedback
Better HN