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 #176: Math Class Drill

JoeS
Alteryx
Alteryx
Spoiler
Workflow.jpg
Oops, stuck in the spoiler tag, but nice one this week 🙂
alex
11 - Bolide

solution attached

mi_tob
5 - Atom

My Solution

 

Spoiler
alteryx_weeklychallenge.png
kelly_gilbert
13 - Pulsar

This was a fun little challenge!! I realize that I could have done this in fewer tools, but I wanted to make it flexible enough to handle different numbers of digits.

 

Spoiler

challenge_176.PNG

 

Extending to other digit counts: 

I added a workflow constant to try the same pattern with other digit counts...

 

There are no solutions for 2 digits (where digit1^2 + digit2^2 = number)

 

Four digits: (e.g. 1^4 + 6^4 + 3^4 + 4^4 = 1,634)
challenge_176_4.PNG

Five digits:
challenge_176_5.PNG

Six digits:
challenge_176_6.PNG

Seven digits: (at this point, with 9,000,000 possible numbers, it had a 38.5 s run time)
Example: 1^7 + 7^7 + 4^7 + 1^7 + 7^7 + 2^7 + 5^7 = 1 + 823,543 + 16,384 + 1 + 823,543 + 128 + 78,125 = 1,741,725
challenge_176_7.PNG

phottovy
13 - Pulsar
13 - Pulsar

Not very efficient but it gets the job done.

acastelazo
8 - Asteroid

Fun challenge! Here is my solution:

Spoiler
Capture.JPG
pjdit
8 - Asteroid

My solution..  Fun one!

Spoiler
Challenge_176_Spoiler.JPG
NickTheGreek
5 - Atom

Good luck chaps.

 

Spoiler


clipboard_image_0.png
echuong
8 - Asteroid
Not the most efficient, but got it done!
Reesetrain2
9 - Comet

All,

 

Intermediate Challenge can mean a great deal of things as this one wasn't too bad for me.

Spoiler
I used the Left and Right Functions after using Make Rows starting at 100 and the iterating to 999 to give me the run of the numbers.
Cheers!



Matt

Capture.PNG