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!)
A309407 a(n) = round(sqrt(3*n + 9/4)), with a(0) = 1. 5
1, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Diverges from A046693 at positions in A308766.
For the first 1750 terms, A046693(n)-a(n) is either 0 or 1.
LINKS
Ed Pegg Jr, Sparse Rulers.
FORMULA
a(n) = round(sqrt(3*n + 9/4)).
From Michael Chu, Jan 17 2022: (Start)
a(12*k^2 - 6*k) = 6*k - 2 for k>0.
a(12*k^2 + 6*k) = 6*k + 2 for k>0. (End)
MATHEMATICA
Table[If[n == 0, 1, Round[Sqrt[3 n + 9/4]]], {n, 0, 88}]
PROG
(PARI) a(n) = if (n, round(sqrt(3*n + 9/4)), 1); \\ Michel Marcus, Jan 18 2022
CROSSREFS
Sequence in context: A003057 A239308 A216256 * A046693 A368910 A196376
KEYWORD
nonn,easy
AUTHOR
Ed Pegg Jr, Jul 29 2019
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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)