The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189369 a(n) = n + [n*r/t] + [n*s/t]; r=2, s=sqrt(2), t=sqrt(3). 3
2, 5, 8, 11, 14, 16, 20, 23, 26, 29, 31, 34, 38, 41, 44, 47, 49, 52, 55, 59, 62, 64, 67, 70, 73, 77, 80, 82, 85, 88, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 129, 132, 136, 139, 142, 145, 147, 150, 154, 157, 160, 162, 165, 168, 171, 175, 177, 180, 183, 186, 189, 193, 195, 198, 201, 204, 207, 209, 213, 216, 219, 222, 225, 227, 231, 234, 237, 240, 242, 245 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
(See A189367.)
LINKS
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(3)) + floor(n*sqrt(2)/sqrt(3)), ", ")) \\ G. C. Greubel, Apr 20 2018
(Magma) [n + Floor(2*n/Sqrt(3)) + Floor(n*Sqrt(2)/Sqrt(3)): n in [1..100]]; // G. C. Greubel, Apr 20 2018
CROSSREFS
Sequence in context: A022842 A356057 A189525 * A055048 A045930 A140099
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 20 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 03:50 EDT 2024. Contains 372497 sequences. (Running on oeis4.)