login
A195123
a(n) = 2*n - floor(n*r/3), where r = (1 + sqrt(5))/2.
1
0, 2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 17, 18, 19, 21, 22, 24, 25, 27, 28, 30, 31, 33, 34, 36, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 57, 59, 60, 62, 63, 65, 66, 68, 69, 71, 72, 74, 75, 76, 78, 79, 81, 82, 84, 85, 87, 88, 90, 91, 93, 94, 95, 97, 98, 100
OFFSET
0,2
LINKS
MATHEMATICA
Table[2n-Floor[n GoldenRatio/3], {n, 0, 70}] (* Harvey P. Dale, May 25 2020 *)
PROG
(Magma) [2*n-Floor(n*(1+Sqrt(5))/6): n in [0..70]]; // Vincenzo Librandi, Sep 11 2011
CROSSREFS
Sequence in context: A332101 A061054 A061723 * A248758 A267528 A294732
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 09 2011
STATUS
approved