OFFSET
0,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
9^2 = 81 = F(10) + F(8) + F(5) = 55 + 21 + 5. Hence a(2) = 3.
9^3 = 729 = F(15) + F(11) + F(8) + F(6) + F(1) = 610 + 89 + 21 + 8 + 1. Hence a(3) = 5.
MATHEMATICA
Table[Length[DeleteCases[NestWhileList[# - Fibonacci[Floor[Log[Sqrt[5] * # + 3/2]/Log[GoldenRatio]]] &, 9^n, # > 1 &], 0]], {n, 0, 80}] (* Alonso del Arte, May 09 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved