login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A190337 a(n) = n + [n*r/t] + [n*s/t];  r=2, s=sqrt(2), t=1/s. 3
5, 11, 17, 23, 29, 34, 40, 46, 52, 58, 64, 69, 75, 81, 87, 93, 99, 104, 110, 116, 122, 128, 134, 139, 145, 151, 157, 163, 169, 174, 180, 186, 192, 198, 203, 209, 215, 221, 227, 233, 238, 244, 250, 256, 262, 268, 273, 279, 285, 291, 297, 303, 308, 314, 320, 326, 332, 338, 343, 349, 355, 361, 367, 373, 378, 384, 390, 396, 402, 407 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A190335.

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

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(3*n + floor(n*sqrt(8)), ", ")) \\ G. C. Greubel, Apr 04 2018

(MAGMA) R:=RealField(); [3*n + Floor(n*Sqrt(8)): n in [1..100]]; // G. C. Greubel, Apr 04 2018

CROSSREFS

Cf. A190335, A190336.

Sequence in context: A070753 A038939 A105575 * A189751 A172332 A105644

Adjacent sequences:  A190334 A190335 A190336 * A190338 A190339 A190340

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 27 23:50 EDT 2018. Contains 304726 sequences. (Running on oeis4.)