In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #187: Generate Prime Numbers

ARussell34
8 - Asteroid

I found the 15 prime numbers in a range of 1-50, but this workflow could be turned in a macro to show all primes between any range of values.

ahsanaali
11 - Bolide

ahsanaali_0-1658897566897.png

 

MilindG
12 - Quasar
Spoiler
MilindG_0-1658946771163.png

 

justynam
8 - Asteroid

my solution with iterative macro

grazitti_sapna
17 - Castor

Nice One

 

grazitti_sapna_0-1661942992227.png

 

Sapna Gupta
chuckleswk
11 - Bolide

Took a couple of tries, but finally got it!

Spoiler
Challenge 187.PNG

 

acarter881
12 - Quasar

Here's my solution.

Spoiler
my_weekly_challenge_187_solution.png
karlhansen
9 - Comet
Spoiler
solution_187.jpg

This calculated primes to two million in 12 seconds. 

martinding
13 - Pulsar
Spoiler
187.png

DenisZ
11 - Bolide

Here is my solution