login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A129230
a(n) = floor(n*r) + floor((n-2)*r) + floor((n-4)*r) + ... + floor(k*r), where r = golden ratio = (1 + sqrt(5))/2 and k = n mod 2.
2
0, 1, 3, 5, 9, 13, 18, 24, 30, 38, 46, 55, 65, 76, 87, 100, 112, 127, 141, 157, 173, 190, 208, 227, 246, 267, 288, 310, 333, 356, 381, 406, 432, 459, 487, 515, 545, 574, 606, 637, 670, 703, 737, 772, 808, 844, 882, 920, 959, 999, 1039, 1081, 1123, 1166, 1210
OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..n} A129229(k).
MATHEMATICA
Module[{nn=60, fgm}, fgm=Floor[GoldenRatio*Range[nn]]; Union[Flatten[ Table[ {Total[ Take[fgm, {1, n, 2}]], Total[Take[fgm, {2, n, 2}]]}, {n, nn}]]]] (* Harvey P. Dale, Feb 03 2016 *)
Accumulate[Block[{n = 0}, NestList[Floor[++n*GoldenRatio] - # &, 0, 100]]] (* Paolo Xausa, May 12 2024 *)
CROSSREFS
Cf. A129229.
Sequence in context: A356254 A122248 A024403 * A203567 A350660 A071404
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 04 2007
STATUS
approved