OFFSET
0,3
COMMENTS
If k is even, k appears k+1 times; if k is odd, k appears k times. - N. J. A. Sloane, Jan 25 2021
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..20000 [First 10000 terms from Vincenzo Librandi]
FORMULA
a(n) = A000196(2*n). - R. J. Mathar, Jul 06 2010
MATHEMATICA
Table[Floor[Sqrt[2n]], {n, 0, 80}]
PROG
(Magma) [Floor(Sqrt(2*n)) : n in [0..80]];
(Haskell)
a172471 = a000196 . (* 2) -- Reinhard Zumkeller, Feb 12 2012
(PARI) for(n=0, 50, print1(floor(sqrt(2*n)), ", ")) \\ G. C. Greubel, Jul 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 04 2010
STATUS
approved