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”).

A190346
a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sqrt(5/2), t=sqrt(2/5).
3
4, 10, 14, 20, 24, 30, 35, 40, 45, 50, 55, 60, 65, 71, 75, 81, 85, 91, 96, 101, 106, 111, 116, 121, 126, 132, 136, 142, 146, 152, 157, 162, 167, 172, 177, 182, 187, 193, 197, 203, 207, 213, 217, 223, 228, 233, 238, 243, 248, 254, 258, 264, 268, 274, 278, 284, 289, 294, 299, 304, 309, 315, 319, 325, 329, 335, 339, 345, 350, 355, 360
OFFSET
1,1
COMMENTS
See A190344.
LINKS
FORMULA
A190344: f(n) = n + [n*sqrt(5/2)] + [n*sqrt(2/5)].
A190345: g(n) = n + [n*sqrt(2/5)] + [2*n/5].
A190346: h(n) = 3*n + [n*sqrt(5/2)] + [n/2].
MATHEMATICA
r=1; s=(5/2)^(1/2); t=1/s;
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}] (* A190344 *)
Table[g[n], {n, 1, 120}] (* A190345 *)
Table[h[n], {n, 1, 120}] (* A190346 *)
PROG
(PARI) for(n=1, 100, print1(3*n + floor(n*sqrt(5/2)) + floor(n/2), ", ")) \\ G. C. Greubel, Apr 05 2018
(Magma) [3*n + Floor(n*Sqrt(5/2)) + Floor(n/2): n in [1..100]]; // G. C. Greubel, Apr 05 2018
CROSSREFS
Sequence in context: A310413 A146763 A310414 * A001581 A310415 A310416
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 09 2011
STATUS
approved