OFFSET
0,3
COMMENTS
If n = F(i1) + F(i2) +...+ F(ik) is the Zeckendorf representation of n (i.e., write n in Fibonacci number system) then a(n) = i1 + i2 +...+ ik. 1 is Fibonacci(1). The variant with 1 = Fibonacci(2) is A227788.
LINKS
Eric W. Weisstein, Zeckendorf Representation
EXAMPLE
a(33) = 19 because Zeckendorf representation of 33 is 21+8+3+1, 21=F(8), 8=F(6), 3=F(4), 1=F(1), thus a(33) = 8+6+4+1 = 19.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Sep 23 2013
STATUS
approved