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

AYXAcademy
Alteryx
Alteryx

Maveryx_WC_Banner.png

 

Hi Maveryx,

 

A solution to last week’s challenge can be found here.

 

This challenge was submitted by Ippei Nakagawa, one of our most creative contributors to challenges. Thanks, @gawa , for your invaluable contributions, and again it was a pleasure meeting you in person during Inspire2024!

 

Though perfect people may be a myth, perfect numbers are real! A perfect number is a positive integer that is equal to the sum of its divisors (excluding itself).

 

Your challenge is to examine the provided dataset, which is a list of integers ranging from 1 to 10,000, and determine the perfect numbers hidden within. For example, the smallest perfect number is 6, which is the sum of its divisors: 1, 2, and 3.

 

Need a refresher? Review this lesson in Academy to gear up:

 

Good luck!

 

AYX-Maveryx_Micro Identity-Maveryx Academy_wordmark.png

PhilipMannering
16 - Nebula
16 - Nebula

My perfect numbers attached.

 

Spoiler
image.png
AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
スクリーンショット 2024-05-27 233953.png

mmontgomery
11 - Bolide

Team brute force!

Spoiler
c425.png
mgaytan
5 - Atom
Spoiler
 

As long as it works!

RolandSchubert
16 - Nebula
16 - Nebula
Spoiler
426.jpg

Milanz
8 - Asteroid

my solution ;-)

 

Spoiler
 
 
ML426.jpg

binuacs
20 - Arcturus
Spoiler
image.png
alexnajm
17 - Castor
17 - Castor

Nice one 😊

Spoiler
Always love it when the mod function comes into play!
Challenge 426.png
Qiu
21 - Polaris
21 - Polaris

May the Brutal Force be with you😂

Spoiler
Challenge_426.png