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!)
A189527 a(n) = n + [n*s/r] + [n*t/r]; r=1, s=sqrt(3)-sqrt(2), t=sqrt(3)+sqrt(2). 3
4, 8, 12, 17, 21, 25, 31, 35, 39, 44, 48, 52, 57, 62, 66, 71, 75, 79, 84, 88, 93, 97, 102, 106, 110, 115, 119, 124, 129, 133, 137, 142, 146, 150, 156, 160, 164, 169, 173, 177, 182, 187, 191, 195, 200, 204, 208, 214, 218, 222, 227, 231, 235, 240, 245, 249, 254, 258, 262, 267, 271, 276, 281, 285, 289, 293, 298, 302, 307, 312, 316, 320, 325, 329, 333, 339, 343, 347, 352, 356, 360, 365, 370 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is one of three sequences that partition the positive integers. In general, suppose that r, s, t are positive real numbers for which the sets {i/r: i>=1}, {j/s: j>=1}, {k/t: k>=1} are pairwise disjoint. Let a(n) be the rank of n/r when all the numbers in the three sets are jointly ranked. Define b(n) and c(n) as the ranks of n/s and n/t. It is easy to prove that
f(n) = n + [n*s/r] + [n*t/r],
g(n) = n + [n*r/s] + [n*t/s],
h(n) = n + [n*r/t] + [n*s/t], where []=floor.
Taking r=1, s=sqrt(3)-sqrt(2), t=sqrt(3)+sqrt(2) gives f=A189527, g=A189528, h=A189529.
LINKS
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))), ", ")) \\ G. C. Greubel, Apr 20 2018
(Magma) [n + Floor(n*(Sqrt(3) - Sqrt(2))) + Floor(n*(Sqrt(3)+Sqrt(2))): n in [1..100]]; // G. C. Greubel, Apr 20 2018
CROSSREFS
Sequence in context: A311449 A311450 A311451 * A311452 A311453 A311454
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:33 EDT 2024. Contains 371967 sequences. (Running on oeis4.)