All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Ones and Twos (Posted on 2023-05-04) Difficulty: 3 of 5
Number 3 can be expressed by using 1 and 2 in 3 distinct ways I,e, 1+1+1, 1+2, 2+1; number 4 in 5 ways: 1+1+1+1 , 2+1+1, 1+2+1, 1+1+2, and 2+2.

Using the digits 1 and 2 as summands, in how many ways may be 26 expressed?

Bonus: Generalize the process for number N.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 2 of 4 |
F(N) is the Nth Fibonacci number. 0,1,1,2,3,5,...

The 3rd Fibonacci number is 2 and the 4th is 3 so there is an offset of +1.

F(N)=F(N-1)+F(N-2) because you can take every F(N-1) way and add +1 at the end and take every F(N-2) way and add +2 at the end. 

The number 26 can be expressed in F(27)=196418 ways

  Posted by Jer on 2023-05-05 11:24:11
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (13)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information