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!)
A189381 a(n) = n + [n*r/s] + [n*t/s]; r=1, s=-1+sqrt(2), t=1+sqrt(2). 3
8, 17, 27, 36, 46, 54, 63, 73, 82, 92, 101, 109, 119, 128, 138, 147, 157, 165, 174, 184, 193, 203, 212, 220, 230, 239, 249, 258, 268, 276, 285, 295, 304, 314, 322, 331, 341, 350, 360, 369, 377, 387, 396, 406, 415, 425, 433, 442, 452, 461, 471, 480, 488, 498, 507, 517, 526, 536, 544, 553, 563, 572, 582, 591, 599, 609, 618, 628, 637, 645, 655, 664, 674, 683, 693, 701, 710, 720, 729, 739, 748, 756, 766 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
(See A189380.)
LINKS
MATHEMATICA
r=1; s=-1+2^(1/2); t=1+2^(1/2);
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}] (* A189380 *)
Table[g[n], {n, 1, 120}] (* A189381 *)
Table[h[n], {n, 1, 120}] (* A189382 *)
PROG
(PARI) for(n=1, 100, print1(n + floor(n/(sqrt(2) -1)) + floor(n*(sqrt(2)+1)/(sqrt(2)-1)), ", ")) \\ G. C. Greubel, Apr 20 2018
(Magma) [n + Floor(n/(Sqrt(2) -1)) + Floor(n*(Sqrt(2)+1)/(Sqrt(2) - 1)): n in [1..100]]; // G. C. Greubel, Apr 20 2018
CROSSREFS
Sequence in context: A052222 A341009 A044441 * A190749 A056121 A264355
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 5 21:49 EDT 2024. Contains 372290 sequences. (Running on oeis4.)