login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A025218
a(n) = floor( Sum_{k=1..n} sqrt(k+1) ).
0
1, 3, 5, 7, 9, 12, 15, 18, 21, 24, 28, 31, 35, 39, 43, 47, 51, 56, 60, 65, 69, 74, 79, 84, 89, 94, 100, 105, 111, 116, 122, 128, 133, 139, 145, 151, 158, 164, 170, 177, 183, 190, 196, 203, 210, 217, 223, 230, 238, 245, 252, 259, 267, 274, 281, 289, 297, 304, 312, 320, 328, 336
OFFSET
1,2
MATHEMATICA
Table[Floor[Sum[Sqrt[k + 1], {k, n}]], {n, 80}] (* Wesley Ivan Hurt, Oct 30 2022 *)
PROG
(PARI) a(n) = floor(sum(k=1, n, sqrt(k+1))) \\ Michel Marcus, Mar 24 2013
CROSSREFS
Sequence in context: A362135 A204206 A080751 * A258782 A349993 A007078
KEYWORD
nonn
STATUS
approved