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 #275: Greatest Common Denominator

KilianL
Alteryx Alumni (Retired)

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
13 - Pulsar

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
11 - Bolide

My solve!

With macro iterative and batch to Euclidean Algorithm!

lemuelcastro
11 - Bolide

After Learning with @kelly_gilbert !

Spoiler
lemuelcastro_0-1626896637683.png

 


 

Michael_McKee
Alteryx Alumni (Retired)

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.

jagdeep_singh85
8 - Asteroid

HI 

 

PFA my solution

 

AndrewDearstyne
5 - Atom

I can't get any simpler than this.

 

Spoiler

 

AndrewDearstyne_0-1628101879163.png