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!)
A187386 a(n) = floor(s*n), where s=1+sqrt(3)-sqrt(2); complement of A187385. 2
1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 21, 22, 23, 25, 26, 27, 28, 30, 31, 32, 34, 35, 36, 38, 39, 40, 42, 43, 44, 46, 47, 48, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 69, 71, 72, 73, 75, 76, 77, 79, 80, 81, 83, 84, 85, 86, 88, 89, 90, 92, 93, 94, 96, 97, 98, 100, 101, 102, 104, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A187385 and A187386 are the Beatty sequences based on r=1+sqrt(3)+sqrt(2) and s=1+sqrt(3)-sqrt(2); 1/r+1/s=1.
LINKS
FORMULA
a(n) = floor(s*n), where s=1+sqrt(3)-sqrt(2).
MATHEMATICA
k=3; r=1+k^(1/2)+(k-1)^(1/2); s=1+k^(1/2)-(k-1)^(1/2);
Table[Floor[r*n], {n, 1, 80}] (* A187385 *)
Table[Floor[s*n], {n, 1, 80}] (* A187386 *)
PROG
(PARI) vector(120, n, floor(n*(sqrt(3) - sqrt(2) + 1))) \\ G. C. Greubel, Aug 19 2018
(Magma) [Floor(n*(Sqrt(3) - Sqrt(2) +1)): n in [1..120]]; // G. C. Greubel, Aug 19 2018
CROSSREFS
Cf. A187385.
Sequence in context: A329990 A109237 A164087 * A059531 A039053 A352675
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 09 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 24 04:02 EDT 2024. Contains 371918 sequences. (Running on oeis4.)