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!)
A047839 a(n) = n + floor( sqrt(2*n) ). 2
2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A047838.
LINKS
MATHEMATICA
Table[n +Floor[Sqrt[2*n]], {n, 1, 100}] (* G. C. Greubel, Sep 08 2018 *)
PROG
(PARI) {a(n) = if( n<0, 0, n + sqrtint(2*n))}
(Magma) [n +Floor(Sqrt(2*n)): n in [1..100]]; // G. C. Greubel, Sep 08 2018
CROSSREFS
Cf. A047838.
Sequence in context: A355890 A145395 A049692 * A285601 A139255 A277676
KEYWORD
nonn,easy
AUTHOR
Michael Somos, May 07 1999
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 April 29 21:22 EDT 2024. Contains 372114 sequences. (Running on oeis4.)