A350240 Number of representations of n as a sum of distinct Fibonacci numbers where 1 can be included twice.
1, 1, 2, 2, 2, 3, 2, 3, 3, 3, 4, 3, 3, 4, 3, 5, 4, 4, 5, 3, 4, 4, 4, 6, 5, 5, 6, 4, 6, 5, 5, 6, 4, 4, 5, 4, 7, 6, 6, 8, 5, 7, 6, 6, 8, 6, 6, 7, 5, 8, 6, 6, 7, 4, 5, 5, 5, 8, 7, 7, 9, 6, 9, 8, 8, 10, 7, 7, 8, 6, 10, 8, 8, 10, 6, 8, 7, 7, 10, 8, 8, 9, 6
Offset: 0
Keywords
Examples
The a(10)=4 partitions are: 8+2 = 8+1+1 = 5+3+1+1 = 5+3+2. The a(11)=3 partitions are: 8+3 = 8+2+1 = 5+3+2+1. The a(12)=3 partitions are: 8+3+1 = 8+2+1+1 = 5+3+2+1+1.
Programs
-
PARI
seq(n)=my(m=2); while(fibonacci(m)
Andrew Howroyd, Dec 21 2021
Formula
G.f.: (1 + x + x^2)*Product_{k>=3} (1 + x^Fibonacci(k)). - Andrew Howroyd, Dec 21 2021
Comments