login
A190348
a(n) = n + [n*r/s] + [n*t/s]; r=1, s=sqrt(5/3), t=sqrt(3/5).
3
1, 4, 6, 9, 11, 13, 16, 18, 20, 23, 25, 28, 30, 32, 35, 37, 40, 41, 44, 47, 49, 52, 53, 56, 59, 61, 63, 65, 68, 71, 73, 75, 77, 80, 83, 84, 87, 89, 92, 94, 96, 99, 101, 104, 106, 108, 111, 113, 115, 118, 120, 123, 125, 127, 130, 132, 135, 136, 139, 142, 144, 147, 148, 151, 154, 156, 158, 160, 163, 166, 167, 170, 172, 175
OFFSET
1,2
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(n + floor(n*sqrt(3/5)) + floor(3*n/5), ", ")) \\ G. C. Greubel, Apr 05 2018
(Magma) [n + Floor(n*Sqrt(3/5)) + Floor(3*n/5): n in [1..100]]; // G. C. Greubel, Apr 05 2018
CROSSREFS
Sequence in context: A258026 A246779 A160531 * A189363 A189926 A060106
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 09 2011
STATUS
approved