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

A189368
a(n) = n + [n*r/s] + [n*t/s]; r=2, s=sqrt(2), t=sqrt(3).
3
3, 6, 10, 13, 18, 21, 24, 28, 32, 36, 39, 42, 46, 50, 54, 57, 61, 65, 68, 72, 75, 79, 83, 86, 90, 93, 98, 101, 105, 108, 111, 116, 119, 123, 126, 130, 134, 137, 141, 144, 148, 152, 155, 159, 163, 167, 170, 173, 178, 181, 185, 188, 191, 196, 199, 203, 206, 211, 214, 217, 221, 224, 229, 232, 235, 239
OFFSET
1,1
COMMENTS
See A189367.
LINKS
Bernard J. Laurenzi, Special values of the Lommel functions and associated integrals, arXiv:1901.03384 [math.CA], 2019.
MATHEMATICA
r = 2; s = Sqrt[2]; t = Sqrt[3];
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}] (* A189367 *)
Table[g[n], {n, 1, 120}] (* A189368 *)
Table[h[n], {n, 1, 120}] (* A189369 *)
PROG
(PARI) for(n=1, 100, print1(n + floor(2*n/sqrt(2)) + floor(n*sqrt(3)/sqrt(2)), ", ")) \\ G. C. Greubel, Apr 20 2018
(Magma) [n + Floor(2*n/Sqrt(2)) + Floor(n*Sqrt(3)/Sqrt(2)): n in [1..100]]; // G. C. Greubel, Apr 20 2018
CROSSREFS
Sequence in context: A276219 A267593 A248221 * A128039 A027428 A136850
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 20 2011
STATUS
approved