cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A342712 Partial sums of A248333.

This page as a plain text file.
%I A342712 #13 Dec 13 2022 04:42:58
%S A342712 0,0,0,1,2,4,6,9,13,17,22,28,34,41,49,58,67,77,88,100,112,125,139,154,
%T A342712 170,186,203,221,240,260,280,301,323,346,370,395,420,446,473,501,530,
%U A342712 560,590,621,653,686,720,755,791,827,864,902,941,981,1022,1064,1106
%N A342712 Partial sums of A248333.
%F A342712 a(n) = A000217(n) - A342711(n-1) for n >= 1. [Corrected by _Georg Fischer_, Dec 13 2022]
%o A342712 (PARI) f(n) = sum(i=1, n, !(issquare(i-1) || issquare(floor(i-sqrt(i-1))))); \\ A248333
%o A342712 a(n) = sum(k=0, n, f(k)); \\ _Michel Marcus_, Mar 20 2021
%Y A342712 Cf. A248333, A000217, A342711.
%K A342712 nonn
%O A342712 1,5
%A A342712 _Slav E. Angelov_, Mar 20 2021