HP Forums
(38G) OEIS A008794 & Partial Sums - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (38G) OEIS A008794 & Partial Sums (/thread-3386.html)



(38G) OEIS A008794 & Partial Sums - Gerald H - 03-15-2015 06:15 PM

A programme to set up the sequence aplet to produce the sequence

http://oeis.org/A008794

in column one numeric view & partial sums of the series in column two.

The series of the partial sums does not (yet) appear in the OEIS.

RECURSE(U,U3(N)^2,0,0)►U1(N):
CHECK 1:
RECURSE(U,U3(N)*(1+U3(N)*(3+2*U3(N)))/3-(N MOD 2)*U3(N)^2,0,0)►U2(N):
CHECK 2:
RECURSE(U,FLOOR((N-1)/2),0,0)►U3(N):