login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A049472 a(n) = floor(n/sqrt(2)). 18
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

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

Index entries for sequences related to Beatty sequences

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.

Cf. A006337, A049474.

Sequence in context: A306726 A188511 A064488 * A125229 A213855 A272206

Adjacent sequences:  A049469 A049470 A049471 * A049473 A049474 A049475

KEYWORD

nonn,easy

AUTHOR

Thomas Kellar

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 06:08 EDT 2019. Contains 328106 sequences. (Running on oeis4.)