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!)
A102515 a(n) = floor(1 + sqrt(2n + 1)). 0
2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
The first occurrence of k appears at floor((k-1)^2/2), beginning with k=3. - Robert G. Wilson v, Mar 01 2015
If the sign inside the sqrt() is changed from "+" to "-", then the offset must be changed from 0 to 1 in order for the terms in the data to remain the same. - Robert G. Wilson v, Mar 01 2015
LINKS
FORMULA
With offset 1, a(n) = A339399(n) + A339443(n). - Wesley Ivan Hurt, Dec 31 2020
MATHEMATICA
Table[Floor[1+Sqrt[2n+1]], {n, 0, 100}] (* Harvey P. Dale, Feb 28 2015 *)
CROSSREFS
Sequence in context: A239684 A062571 A277903 * A276571 A066063 A123087
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 16 2005
EXTENSIONS
Definition corrected by Olivier Gérard & Harvey P. Dale, Feb 28 2015
Offset corrected by Robert G. Wilson v, Mar 01 2015
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 19 10:31 EDT 2024. Contains 371791 sequences. (Running on oeis4.)