Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAA prime example of a good weekly challenge.
In one line of Python,
[i for i in range(2,50) if 0 not in (i%j for j in range(2,i))]
Otherwise,
@elliotyoung - I used the R tool here.
A good old sieve. 998 iterations in ~1 min for primes under 1 000 000 all in Alteryx
Here's my solution, it is based on trial division method. For very large numbers it will be slow to generate the data required but it will work.