login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A172336
a(n) = floor(n*(sqrt(13)+sqrt(2))).
15
0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175, 180, 185, 190, 195, 200, 205, 210, 215, 220, 225, 230, 235, 240, 245, 250, 256, 261, 266, 271, 276
OFFSET
0,2
COMMENTS
a(n) = integer part of n*(sqrt(13)+sqrt(2)), where the constant is the largest root of x^4 -30*x^2 +121.
LINKS
MATHEMATICA
With[{c = Sqrt[13] + Sqrt[2]}, Floor[c Range[0, 70]]] (* Vincenzo Librandi, Aug 01 2013 *)
PROG
(Magma) [Floor(n*(Sqrt(13)+Sqrt(2))): n in [0..60]];
(PARI) for(n=0, 50, print1(floor(n*(sqrt(13)+sqrt(2))), ", ")) \\ G. C. Greubel, Jul 05 2017
KEYWORD
nonn,less,easy
AUTHOR
Vincenzo Librandi, Feb 01 2010
STATUS
approved