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!)
A189529 a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sqrt(3)-sqrt(2), t=sqrt(3)+sqrt(2). 3
1, 2, 3, 5, 6, 7, 9, 10, 11, 14, 15, 16, 18, 19, 20, 22, 23, 24, 26, 28, 29, 30, 32, 33, 34, 36, 37, 38, 40, 42, 43, 45, 46, 47, 49, 50, 51, 53, 54, 56, 58, 59, 60, 61, 63, 64, 65, 67, 68, 70, 72, 73, 74, 76, 77, 78, 80, 81, 82, 85, 86, 87, 89, 90, 91, 92, 94, 95, 96, 99, 100, 101, 103, 104, 105, 107, 108, 109, 111, 113, 114, 116, 117, 118, 120, 121 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
See A189527.
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))/(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
Sequence in context: A121912 A325113 A328393 * A120514 A101886 A284509
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 July 17 23:27 EDT 2024. Contains 374377 sequences. (Running on oeis4.)