login
A195180
a(n) = 5*n - floor(3*n*sqrt(2)).
1
0, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, 13, 14, 15, 16, 16, 17, 18, 19, 19, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 35, 35, 36, 37, 38, 38, 39, 40, 41, 41, 42, 43, 44, 44, 45, 46, 47, 47, 48, 49, 50, 50, 51, 52, 53
OFFSET
0,3
LINKS
MATHEMATICA
Table[5*n - Floor[3*n*Sqrt[2]], {n, 0, 50}] (* G. C. Greubel, Nov 01 2017 *)
PROG
(Magma) [5*n-Floor(3*n*(Sqrt(2))): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011
(PARI) for(n=0, 50, print1(5*n - floor(3*n*sqrt(2)), ", ")) \\ G. C. Greubel, Nov 01 2017
CROSSREFS
Sequence in context: A072894 A328309 A037915 * A069210 A195172 A367193
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 10 2011
STATUS
approved