login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A049472 a(n) = floor(n/sqrt(2)). 22
0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 14, 15, 16, 16, 17, 18, 19, 19, 20, 21, 21, 22, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 31, 31, 32, 33, 33, 34, 35, 36, 36, 37, 38, 38, 39, 40, 41, 41, 42, 43, 43, 44, 45, 45, 46, 47 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
For n > 0: A006337(n) = number of repeating n's. - Reinhard Zumkeller, Jul 04 2015
LINKS
Robbert Fokkink, The Pell Tower and Ostronometry, arXiv:2309.01644 [math.CO], 2023.
MAPLE
A049472:=n->floor(n/sqrt(2)): seq(A049472(n), n=0..100); # Wesley Ivan Hurt, Jun 25 2016
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
First differences give A080764.
Sequence in context: A306726 A188511 A064488 * A368131 A125229 A213855
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 24 02:09 EDT 2024. Contains 374575 sequences. (Running on oeis4.)