OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*(7 - sqrt(5))/2).
MATHEMATICA
Table[Floor[n*(7-Sqrt[5])/2], {n, 1, 80}] (* G. C. Greubel, Jul 08 2018 *)
PROG
(Magma) [Floor(n*(7-5^(1/2))/2): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011
(PARI) for(n=1, 80, print1(floor(n*(7-sqrt(5))/2), ", ")) \\ G. C. Greubel, Jul 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 28 2010
EXTENSIONS
Typo in formula corrected by Vincenzo Librandi, Oct 25 2011
STATUS
approved