login
A342711
Partial sums of A000267.
1
1, 3, 6, 9, 13, 17, 22, 27, 32, 38, 44, 50, 57, 64, 71, 78, 86, 94, 102, 110, 119, 128, 137, 146, 155, 165, 175, 185, 195, 205, 216, 227, 238, 249, 260, 271, 283, 295, 307, 319, 331, 343, 356, 369, 382, 395, 408, 421, 434, 448, 462, 476, 490, 504, 518, 532, 547
OFFSET
0,2
COMMENTS
a(n) = A109512(n+1) for n = 0..23.
This sequence is the partial sums of A000267, which in turn is the partial sums of A240025.
It can be used to obtain a formula for the n-th term of A342712.
MATHEMATICA
Accumulate @ Array[Floor @ Sqrt[4*# + 1] &, 100, 0] (* Amiram Eldar, Mar 19 2021 *)
PROG
(PARI) a(n) = sum(i=0, n, sqrtint(4*i+1)); \\ Michel Marcus, Mar 19 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Slav E. Angelov, Mar 19 2021
STATUS
approved