login
A195167
a(n) = 3*n - floor(n*r/2), where r=(1+sqrt(5))/2 (the golden ratio).
2
0, 3, 5, 7, 9, 11, 14, 16, 18, 20, 22, 25, 27, 29, 31, 33, 36, 38, 40, 42, 44, 47, 49, 51, 53, 55, 57, 60, 62, 64, 66, 68, 71, 73, 75, 77, 79, 82, 84, 86, 88, 90, 93, 95, 97, 99, 101, 103, 106, 108, 110, 112, 114, 117, 119, 121, 123, 125, 128, 130, 132, 134, 136
OFFSET
0,2
LINKS
MATHEMATICA
With[{c = GoldenRatio}, Table[3*n - Floor[c*n/2], {n, 0, 50}]] (* G. C. Greubel, Oct 31 2017 *)
PROG
(Magma) [3*n-Floor(n*(1+Sqrt(5))/4): n in [0..70]]; // Vincenzo Librandi, Sep 11 2011
(PARI) for(n=0, 50, print1(3*n - floor(n*(1+sqrt(5))/4), ", ")) \\ G. C. Greubel, Oct 31 2017
CROSSREFS
Sequence in context: A376957 A195179 A033038 * A364668 A211218 A291839
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 10 2011
STATUS
approved