(50G)Integer Partitions in Fibonacci Numbers
|
08-12-2015, 02:34 PM
(This post was last modified: 06-15-2017 01:40 PM by Gene.)
Post: #1
|
|||
|
|||
(50G)Integer Partitions in Fibonacci Numbers
The total number of partitions of
7 is 15 of which 10 are composed purely of Fibonacci numbers & 1 is composed of distinct Fibonacci numbers. { [ 7 ] [ 6 1 ] [ 5 2 ] [ 5 1 1 ] [ 4 3 ] [ 4 2 1 ] [ 4 1 1 1 ] [ 3 3 1 ] [ 3 2 2 ] [ 3 2 1 1 ] [ 3 1 1 1 1 ] [ 2 2 2 1 ] [ 2 2 1 1 1 ] [ 2 1 1 1 1 1 ] [ 1 1 1 1 1 1 1 ] } The programme PINFIBS returns for integer input the number of partitions in Fibonacci numbers. Code:
The programme PINDFIBS returns for integer input the number of partitions in distinct Fibonacci numbers. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(50G)Integer Partitions in Fibonacci Numbers - Gerald H - 08-12-2015 02:34 PM
|
User(s) browsing this thread: 1 Guest(s)