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.

A045964 Partial sums of A045954.

This page as a plain text file.
%I A045964 #14 Mar 20 2024 03:14:06
%S A045964 2,6,12,22,34,52,72,94,120,154,190,232,276,326,378,432,490,558,628,
%T A045964 704,788,878,976,1076,1178,1286,1400,1516,1634,1764,1896,2034,2174,
%U A045964 2322,2472,2636,2806,2978,3156,3338,3524,3720,3918,4130,4344,4562,4790,5020,5254
%N A045964 Partial sums of A045954.
%H A045964 Amiram Eldar, <a href="/A045964/b045964.txt">Table of n, a(n) for n = 1..10000</a>
%t A045964 seq[max_] := Module[{lst = Range[2, max, 2], i = 2, len}, While[i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++]; Accumulate[lst]]; seq[250] (* _Amiram Eldar_, Mar 20 2024, after _Robert G. Wilson v_ at A045954 *)
%Y A045964 Cf. A045954.
%K A045964 easy,nonn
%O A045964 1,1
%A A045964 _Felice Russo_
%E A045964 More terms from _David W. Wilson_