09-11-2017, 05:30 PM
The programme inserts symbolics in the Sequence App to produce the series
https://oeis.org/A014085
NB OEIS starts the series at zero, the Sequence App starts at one, so values are offset by one.
https://oeis.org/A014085
NB OEIS starts the series at zero, the Sequence App starts at one, so values are offset by one.
Code:
RECURSE(U,Σ(X=(N-1)^2,N^2,IFTE(ISPRIME?(X),1,0)),0,2)►U1(N):
CHECK 1: