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.

A157512 Partial sums of A157502.

This page as a plain text file.
%I A157512 #10 Oct 28 2019 02:27:26
%S A157512 2,8,16,26,38,52,70,90,112,136,162,190,220,252,286,324,364,406,450,
%T A157512 496,544,594,646,700,756,814,874,936,1002,1070,1140,1212,1286,1362,
%U A157512 1440,1520,1602,1686,1772,1860,1950,2042,2136,2232,2330,2432,2536
%N A157512 Partial sums of A157502.
%F A157512 Set R(n) = floor(A157502(n)/2) and S(n) = floor(sqrt(A157502(n))/2); then a(n) = R(n)*(R(n) + 1) - (4*S(n)^3 + 6*S(n)^2 + 2*S(n))/3.
%e A157512 a(4) = 2 + 6 + 8 + 10 = 26.
%o A157512 (PARI) lista(nn) = {s = 0; forstep (i = 2, nn, 2, if (! issquare(i), s+=i; print1(s, ", ");););} \\ _Michel Marcus_, Aug 26 2013
%Y A157512 Cf. A157502.
%K A157512 nonn
%O A157512 1,1
%A A157512 _Gerald Hillier_, Mar 02 2009
%E A157512 More terms from _Michel Marcus_, Aug 26 2013