The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A194152 Beatty sequence for 5+2*sqrt(5); complement of A194151. 2
9, 18, 28, 37, 47, 56, 66, 75, 85, 94, 104, 113, 123, 132, 142, 151, 161, 170, 179, 189, 198, 208, 217, 227, 236, 246, 255, 265, 274, 284, 293, 303, 312, 322, 331, 340, 350, 359, 369, 378, 388, 397, 407, 416, 426, 435, 445, 454, 464, 473, 483, 492, 502 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 5*n + A022839(2*n). - R. J. Mathar, Aug 25 2011
a(n) = floor(n*(5+2*sqrt(5))). - Vincenzo Librandi, Oct 25 2011
MATHEMATICA
r=Sqrt[5]/2;
c[k_]:=Floor[k*r];
Table[c[k], {k, 1, 90}] (* A194151 *)
s=5+2*Sqrt[5];
d[k_]:=Floor[k*s];
Table[d[k], {k, 1, 90}] (* A194152 *)
PROG
(Magma) [Floor(n*(5+2*Sqrt(5))): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011
(Python)
from sympy import integer_nthroot
def A194152(n): return 5*n+integer_nthroot(20*n**2, 2)[0] # Chai Wah Wu, Mar 16 2021
CROSSREFS
Sequence in context: A071121 A157644 A107223 * A044433 A161570 A140089
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 17 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 15 22:47 EDT 2024. Contains 372549 sequences. (Running on oeis4.)