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 #463: Let Designer Calculate the Pell Number Sequence!

AYXAcademy
Alteryx
Alteryx

 

Weekly Challenge LMS Banner.png

Hello Community members,

 

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

 

This week’s challenge was submitted by Kapil Rautela @kapil_rautela1990 . Thank you, Kapil, for submitting this fun challenge!

We are going to explore the intriguing Pell numbers. In mathematics, the Pell numbers are an infinite sequence of integers that follows a simple yet fascinating rule: each number is the sum of twice the previous number, plus the Pell number before that. This means that the sequence starts with 0 and 1, and each subsequent number is generated by this formula:

P(n)=2×P(n−1)+P(n−2)

For example, the first few terms of the Pell sequence look like this:

  • P(0) = 0
  • P(1) = 1
  • P(2) = 2
  • P(3) = 5
  • P(4) = 12

Your challenge is to find the first 30 numbers in this sequence.

 

Ready to see how the numbers grow? It is a fun and rewarding journey, and you will quickly discover how this simple formula creates such a unique pattern.

 

Good luck!

 

The Academy Team

Download Start File

 

Download Solution File

Kenda
16 - Nebula
16 - Nebula
Spoiler
Decided to forego the given Input tool and just started with a Generate Rows
image.png
Bobbyt23
12 - Quasar

I liked this one, fun challenge.

Spoiler
image.png
Bennu
8 - Asteroid

English mathematician John Pell (1611-1685).  He was friends with Fibonacci who had a pet bunny! 😉

Pell numbers are used to approximate the square root of 2.

This reminds me a lot of another challenge that featured 3 separate rows of Fibonacci sequences... 

mmontgomery
11 - Bolide
11 - Bolide

C463

Spoiler
C463.png
Flo_P
9 - Comet

Example solution offset by 1 compared to guidance? I'm sticking to the guidance.

Spoiler
image.png
alexnajm
18 - Pollux
18 - Pollux

Fun one!

Spoiler
Challenge 463.png
EuanGriffith
7 - Meteor

I found this one deceptively easy. Multi-Row Formula made it a breeze!

Spoiler
463 Complete.png

jfissel
8 - Asteroid
Spoiler
challenge_463_jfissel.png
lwolfie
11 - Bolide

Nice Morning Wake Up