OFFSET
0,4
COMMENTS
For n > 0: A006337(n) = number of repeating n's. - Reinhard Zumkeller, Jul 04 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Robbert Fokkink, The Pell Tower and Ostronometry, arXiv:2309.01644 [math.CO], 2023.
MAPLE
MATHEMATICA
Floor[Range[0, 70]/Sqrt[2]] (* Harvey P. Dale, Aug 22 2011 *)
PROG
(Magma) [Floor(n/Sqrt(2)): n in [0..70] ]; // Vincenzo Librandi, Aug 23 2011
(Haskell)
a049472 = floor . (/ sqrt 2) . fromIntegral
-- Reinhard Zumkeller, Jul 04 2015
(PARI) a(n)=sqrtint(n^2\2) \\ Charles R Greathouse IV, Sep 02 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved