login
A195126
a(n) = 2*n - floor(n*r/4), where r = (1 + sqrt(5))/2.
1
0, 2, 4, 5, 7, 8, 10, 12, 13, 15, 16, 18, 20, 21, 23, 24, 26, 28, 29, 31, 32, 34, 36, 37, 39, 40, 42, 44, 45, 47, 48, 50, 52, 53, 55, 56, 58, 60, 61, 63, 64, 66, 68, 69, 71, 72, 74, 75, 77, 79, 80, 82, 83, 85, 87, 88, 90, 91, 93, 95, 96, 98, 99, 101, 103, 104, 106
OFFSET
0,2
LINKS
MATHEMATICA
Table[2n-Floor[(n*GoldenRatio)/4], {n, 0, 70}] (* Harvey P. Dale, Nov 12 2014 *)
PROG
(Magma) [2*n-Floor(n*(1+Sqrt(5))/8): n in [0..70]]; // Vincenzo Librandi, Sep 11 2011
CROSSREFS
Sequence in context: A204399 A020914 A195176 * A047496 A223735 A123663
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 09 2011
STATUS
approved