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

CHarrison
Asteroid

My solution :)

Spoiler
AbhishekDoijad_0-1658206293969.png

 

delilah
Asteroid
Spoiler
スクリーンショット 2022-07-22 152225.png
paul_houghton
Quasar

Still on a catch-up but here we go.

 

Spoiler
The finished workflow

Completed Greatest Common Denominator.jpg

The Prime Factorisation Macro
Prime Factorisation iterative Macro.jpg


The Prime counting batch macro 

Prime Count Batch Macro.jpg

JennyMartin
Comet
Spoiler
AWC275.PNG

Really enjoyed puzzling out the logic here. Nearly ended up overcomplicating it! Video solution here: https://youtu.be/oh4DzItusrU

JalenBraegelmann
Asteroid
Spoiler
JalenBraegelmann_0-1662042553393.png

 

Fun challenge to explore different solutions for. Generating rows was a key player if you don't want to go the python route.

MilindG
Quasar
Spoiler
MilindG_0-1663087772196.png

 

CodeMonkey
Asteroid

Solved in python tool

acarter881
Quasar

Here's my solution. Couldn't figure out how to show the index (i.e., Material A & Material B) in the output, even though they're shown in the Python tool.

Spoiler
my_weekly_challenge_275_solution.png

 

martinding
Pulsar
Spoiler
275.png