login
A195121
a(n) = 2*n - floor(n/r), where r = (1 + sqrt(5))/2 (the golden ratio).
3
0, 2, 3, 5, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18, 20, 21, 23, 24, 25, 27, 28, 30, 31, 32, 34, 35, 36, 38, 39, 41, 42, 43, 45, 46, 47, 49, 50, 52, 53, 54, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 70, 71, 72, 74, 75, 77, 78, 79, 81, 82, 83, 85, 86, 88, 89, 90, 92, 93, 94
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
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
Sequence in context: A284509 A135674 A371188 * A047332 A248233 A097432
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 09 2011
STATUS
approved