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”).

A172274
a(n) = floor(n*(sqrt(13)-sqrt(11))).
1
0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 23
OFFSET
0,8
LINKS
FORMULA
a(n) = floor(n*(A010470 - A010468)). - Rick L. Shepherd, Jun 17 2010
MATHEMATICA
With[{c = Sqrt[13] - Sqrt[11]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)
PROG
(Magma) [Floor(n*(Sqrt(13)-Sqrt(11))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 30 2010
EXTENSIONS
Edited by Rick L. Shepherd, Jun 17 2010
STATUS
approved