OFFSET
0,2
COMMENTS
LINKS
Karl V. Keller, Jr., Table of n, a(n) for n = 0..1000
Ron Knott, Fibonacci numbers and the golden section
Eric Weisstein's World of Mathematics, Golden Ratio
Wikipedia, Golden ratio
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).
FORMULA
a(n) = 29*n + ceiling(n/29).
a(n) = A004962(n) for n < 871. - Joerg Arndt, Oct 18 2014
EXAMPLE
For n = 10, 29n + ceiling(n/29) = 290 + ceiling(0.3) = 290 + 1 = 291.
MAPLE
MATHEMATICA
Table[29 n + Ceiling[n/29], {n, 0, 60}] (* Vincenzo Librandi, Oct 13 2014 *)
PROG
(Python)
from math import *
for n in range(0, 101):
..print n, (29*n+ceil(n/29.0))
(Magma) [29*n + Ceiling(n/29): n in [0..60]]; // Vincenzo Librandi, Oct 13 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Karl V. Keller, Jr., Oct 13 2014
STATUS
approved