We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.

Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #275: Greatest Common Denominator

KilianL
Alteryx
Alteryx

No need for prime factorization - Alteryx runs over all potential divisors in 0.3 seconds!

 

Spoiler
275 - Greatest Common Denominator - Kilian.png
Sashikumar
8 - Asteroid

Learned from Solution.

Spoiler
ch275.PNG
ryan-bush
Alteryx
Alteryx

Not the most dynamic solution but fun challenge regardless!

kelly_gilbert
12 - Quasar

For fun, using the Generate Rows tool to iterate and apply the Euclidean algorithm (instead of using a macro).

 

Spoiler
kelly_gilbert_0-1626871791472.png
lemuelcastro
7 - Meteor

My solve!

With macro iterative and batch to Euclidean Algorithm!

lemuelcastro
7 - Meteor

After Learning with @kelly_gilbert !

Spoiler
lemuelcastro_0-1626896637683.png

 


 

Michael_McKee
Alteryx
Alteryx

A little bit Brute Force.  Could have rolled it up into a single Formula.

CRowlatt
8 - Asteroid

I went for the brute force attack too! Still runs in less than a second.