login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189528 a(n) = n + [n*r/s] + [n*t/s]; r=1, s=sqrt(3)-sqrt(2), t=sqrt(3)+sqrt(2). 3
13, 27, 41, 55, 69, 83, 98, 112, 126, 139, 153, 167, 181, 196, 210, 224, 238, 252, 266, 279, 294, 308, 322, 336, 350, 364, 378, 393, 407, 420, 434, 448, 462, 476, 491, 505, 519, 533, 547, 560, 574, 589, 603, 617, 631, 645, 659, 674, 688, 701, 715, 729, 743, 757, 772, 786, 800, 814, 828, 841, 855, 870, 884, 898, 912 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A189527.

LINKS

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

MATHEMATICA

r=1; s=3^(1/2)-2^(1/2); t=3^(1/2)+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}]  (* A189527 *)

Table[g[n], {n, 1, 120}]  (* A189528 *)

Table[h[n], {n, 1, 120}]  (* A189529 *)

PROG

(PARI) for(n=1, 100, print1(n + floor(n/(sqrt(3) - sqrt(2))) + floor(n*(sqrt(3)+sqrt(2))/(sqrt(3)-sqrt(2))), ", ")) \\ G. C. Greubel, Apr 20 2018

(MAGMA) [n + Floor(n/(Sqrt(3)-Sqrt(2))) + Floor(n*(Sqrt(3) +Sqrt(2))/( Sqrt(3) -Sqrt(2))): n in [1..100]]; // G. C. Greubel, Apr 20 2018

CROSSREFS

Cf. A189527, A189529.

Sequence in context: A041765 A041328 A136773 * A132755 A250667 A147450

Adjacent sequences:  A189525 A189526 A189527 * A189529 A189530 A189531

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 23 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 14:13 EDT 2021. Contains 347527 sequences. (Running on oeis4.)