OFFSET
0,8
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = n - A087172(n). - Michel Marcus, Feb 02 2016
MATHEMATICA
f[n_] := Block[{k = 1}, While[Fibonacci[k] <= n, k++ ]; Return[n - Fibonacci[k - 1]]]; Table[ f[n], {n, 0, 100} ]
PROG
(PARI) { k=0; f=0; for (n=0, 1000, while (f <= n, s=f; k++; f=fibonacci(k)); write("b066628.txt", n, " ", n - s) ) } \\ Harry J. Smith, Mar 14 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 25 2001
EXTENSIONS
Corrected and extended by Robert G. Wilson v, Dec 28 2001
STATUS
approved