OFFSET
1,2
COMMENTS
See A189364.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
r = 1; s = Sqrt[2]; t = (1 + Sqrt[5])/2;
f[n_] := n + Floor[n*s/r] + Floor[n*t/r];
g[n_] := n + Floor[n*r/s] + Floor[n*t/s];
h[n_] := n + Floor[n*r/t] + Floor[n*s/t]
Table[f[n], {n, 1, 120}] (* A189364 *)
Table[g[n], {n, 1, 120}] (* A189365 *)
Table[h[n], {n, 1, 120}] (* A189366 *)
Table[n+Floor[n/GoldenRatio]+Floor[(n Sqrt[2])/GoldenRatio], {n, 90}] (* Harvey P. Dale, Apr 12 2013 *)
PROG
(PARI) for(n=1, 100, print1(n + floor(2*n/(1+sqrt(5))) + floor(2*n*sqrt(2)/(1+sqrt(5))), ", ")) \\ G. C. Greubel, Apr 20 2018
(Magma) [n + Floor(2*n/(1+Sqrt(5))) + Floor(2*n*Sqrt(2)/(1+Sqrt(5))): n in [1..100]]; // G. C. Greubel, Apr 20 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 20 2011
STATUS
approved