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!)
A190336 a(n) = n + [n*r/s] + [n*t/s]; r=2, s=sqrt(2), t=1/s. 3
2, 5, 8, 11, 14, 17, 19, 23, 25, 29, 31, 34, 37, 40, 43, 46, 49, 52, 54, 58, 60, 64, 66, 69, 72, 75, 78, 81, 84, 87, 89, 93, 95, 99, 101, 104, 107, 110, 113, 116, 118, 122, 124, 128, 130, 134, 136, 139, 142, 145, 148, 151, 153, 157, 159, 163, 165, 169, 171, 174, 177, 180, 183, 186, 188, 192, 194, 198, 200, 203, 206, 209, 212, 215 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A190335.
LINKS
FORMULA
A190335: f(n) = n + [n*sqrt(2)] + [n/sqrt(8)].
A190336: g(n) = n + [n/sqrt(2)] + [n/2].
A190337: h(n) = 3*n + [n*sqrt(8)].
MATHEMATICA
r=2; s=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}] (*A190335*)
Table[g[n], {n, 1, 120}] (*A190336*)
Table[h[n], {n, 1, 120}] (*A190337*)
PROG
(PARI) for(n=1, 100, print1(n + floor(n/sqrt(2)) + floor(n/2), ", ")) \\ G. C. Greubel, Apr 04 2018
(Magma) R:=RealField(); [n + Floor(n/Sqrt(2)) + Floor(n/2): n in [1..100]]; // G. C. Greubel, Apr 04 2018
CROSSREFS
Sequence in context: A276385 A109232 A064718 * A276889 A276877 A329961
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 08 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 March 28 16:28 EDT 2024. Contains 371254 sequences. (Running on oeis4.)