login
A190349
a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sqrt(5/3), t=sqrt(3/5).
3
3, 7, 11, 15, 19, 23, 27, 31, 35, 38, 43, 47, 50, 55, 59, 62, 66, 71, 74, 78, 83, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 133, 138, 142, 145, 150, 154, 157, 161, 166, 169, 173, 178, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 228, 233, 237, 240, 245, 249, 252, 256, 261, 264, 268, 273, 276, 280, 284, 288
OFFSET
1,1
COMMENTS
See A190347.
LINKS
FORMULA
A190347: f(n) = n + [n*sqrt(5/3)] + [n*sqrt(3/5)].
A190348: g(n) = n + [n*sqrt(3/5)] + [3*n/5].
A190349: h(n) = 2*n + [n*sqrt(5/3)] + [n/3].
MATHEMATICA
r=1; s=(5/3)^(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}] (* A190347 *)
Table[g[n], {n, 1, 120}] (* A190348 *)
Table[h[n], {n, 1, 120}] (* A190349 *)
PROG
(PARI) for(n=1, 100, print1(2*n + floor(n*sqrt(5/3)) + floor(n/3), ", ")) \\ G. C. Greubel, Apr 05 2018
(Magma) [2*n + Floor(n*Sqrt(5/3)) + Floor(n/3): n in [1..100]]; // G. C. Greubel, Apr 05 2018
CROSSREFS
Sequence in context: A254311 A189534 A179874 * A103543 A172338 A189787
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 09 2011
STATUS
approved