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):

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):