The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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 #275: Greatest Common Denominator

binu_acs
ポラリス
スポイラ
binuacs_0-1625844773844.png

 

GarryBrittain
メテオロイド

First challenge, good start 🔥

 

スポイラ
GarryBrittain_2-1625887075874.png

 


 

mbogusz
コメット
スポイラ
Weekly Challenge #275 in the canWeekly Challenge #275 in the can
nlensing001
メテオール

Fun challenge

スポイラ
nlensing001_0-1626002535083.png
dhavaldoshi
アステロイド

How to do it as a beginner?

  • Mathematics: This takes me back to school, I thought of two methods - factorisation and trying every number till the smallest - remember we used to do this for finding if the given number is a complete square?

This isn't exactly an advanced question if you know your math, just like predictive isn't difficult if you know your statistics, so go back to basics! 🙂

 

スポイラ
Solution_275.png
RichoBsJ
ボリード

Hi! Here my solution 🙂

xAJBx
メテオール

That was fun!  This handles any number of unknown material types as well.

dattu
メテオロイド

My solution. Works well for this dataset. 

cwkoops
アステロイド

My solution

KaneG
Alteryx Alumni (Retired)

I'm sure there's a quicker way by just testing the primes, but that would most likely get the LCD easier... Anyhow, it's not too hard to generate 100 or 1000 rows per existing row.

 

スポイラ
KaneG_0-1626232293037.png