HP Forums

Full Version: (40gs & 40G) OEIS A014085 Prime Count between N^2 & (N+1)^2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.

Code:
RECURSE(U,Σ(X=(N-1)^2,N^2,IFTE(ISPRIME?(X),1,0)),0,2)►U1(N):
CHECK 1:
Reference URL's