login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172338 a(n) = floor(n*(sqrt(5)+sqrt(3))). 15
0, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59, 63, 67, 71, 75, 79, 83, 87, 91, 95, 99, 103, 107, 111, 115, 119, 123, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174, 178, 182, 186, 190, 194, 198, 202, 206, 210, 214, 218 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

sqrt(5)+sqrt(3) = 3.96811878506867... is the largest root of x^4 - 16*x^2 + 4.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for sequences related to Beatty sequences

MATHEMATICA

With[{c = Sqrt[5] + Sqrt[3]}, Floor[c Range[0, 60]]] (* Harvey P. Dale, Apr 10 2012 *)

PROG

(Magma) [Floor(n*Sqrt(5)+Sqrt(3)): n in [0..60] ];

(PARI) a(n)=sqrtint(sqrtint(60*n^4)+8*n^2) \\ Charles R Greathouse IV, Jan 24 2022

CROSSREFS

Cf. A110117, A172323-A172332, A172334, A172336, A172337.

Sequence in context: A179874 A190349 A103543 * A189787 A004767 A131098

Adjacent sequences: A172335 A172336 A172337 * A172339 A172340 A172341

KEYWORD

nonn,less,easy

AUTHOR

Vincenzo Librandi, Feb 01 2010

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 December 1 23:44 EST 2022. Contains 358485 sequences. (Running on oeis4.)