OFFSET
0,2
COMMENTS
Apparently, the nonzero terms are the numbers whose maximal Lucas representation (A130311) ends with 1. - Amiram Eldar, Jan 21 2023
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = 3*n - floor(n*r), where r = (1 + sqrt(5))/2.
MATHEMATICA
Table[2n-Floor[n/GoldenRatio], {n, 0, 70}] (* Harvey P. Dale, Feb 11 2018 *)
PROG
(Magma) [3*n-Floor(n*(1+Sqrt(5))/2): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 09 2011
STATUS
approved