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 #426: Perfect Numbers

Flo_P
9 - Comet

Not optimal but gets the job done

Spoiler
image.png
plozbin
8 - Asteroid

Fun challenge!

 

Spoiler
Alteryx Challenge 426 Solution.png

Luke_C
17 - Castor
Spoiler
image.png
ARussell34
8 - Asteroid

Perfect solution attached!

AR_426.png

azamora
5 - Atom

Perfect numbers

fmilliren
8 - Asteroid
Spoiler
Challenge_426_my_solution_image.jpg

 

Shifty
12 - Quasar

There was no strategy here - just brute force - dragging tools on as my mind loaded.  😂

 

Spoiler
Can't upload images anymore.  Shame.
mithily
8 - Asteroid

Being a number nerd - I loved this one and wrote it fully before running it and it produced the right numbers as the output - loved it

wdula
7 - Meteor
Spoiler
Workflow.png

I initially wanted to take the approach where you use the Mersenne Primes to generate perfect numbers (Any Prime of the form (2^k) - 1 where k is prime can be turned into a perfect number by multiplying by 2^(k-1)) but decided against it after realizing that I had no way to verify primes without hardcoding it or adding a sieve.

Solution.png

Fun challenge, almost made me miss my Number Theory class from undergrad...almost. 

cbcarlson
5 - Atom
Spoiler
Screenshot 2024-05-28 154704.png