login
A195128
a(n) = 2*n - floor(n*sqrt(1/2)).
1
0, 2, 3, 4, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 19, 20, 21, 22, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 46, 47, 48, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 63, 64, 65, 66, 68, 69, 70, 72, 73, 74, 75, 77, 78, 79, 81, 82, 83, 85, 86, 87, 88
OFFSET
0,2
LINKS
MATHEMATICA
Table[2n-Floor[n Sqrt[1/2]], {n, 0, 70}] (* Harvey P. Dale, Feb 04 2019 *)
PROG
(Magma) [2*n-Floor(n*(Sqrt(1/2))): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011
CROSSREFS
Sequence in context: A249299 A039149 A039081 * A119931 A129989 A187572
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 09 2011
STATUS
approved