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

A195179
a(n) = 5*n - floor(2*n*sqrt(2)).
1
0, 3, 5, 7, 9, 11, 14, 16, 18, 20, 22, 24, 27, 29, 31, 33, 35, 37, 40, 42, 44, 46, 48, 50, 53, 55, 57, 59, 61, 63, 66, 68, 70, 72, 74, 77, 79, 81, 83, 85, 87, 90, 92, 94, 96, 98, 100, 103, 105, 107, 109, 111, 113, 116, 118, 120, 122, 124, 126, 129, 131, 133, 135
OFFSET
0,2
LINKS
FORMULA
a(n) = A008587(n) - A022842(n). - Michel Marcus, Oct 31 2017
MATHEMATICA
Table[5*n - Floor[2*n*sqrt(2)], {n, 0, 50}] (* G. C. Greubel, Oct 31 2017 *)
PROG
(Magma) [5*n-Floor(2*n*(Sqrt(2))): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011
(PARI) a(n) = 5*n - floor(2*n*sqrt(2)) \\ G. C. Greubel, Oct 31 2017
CROSSREFS
Sequence in context: A327209 A285590 A376957 * A033038 A195167 A364668
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 10 2011
STATUS
approved