OFFSET
1,5
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
FORMULA
a(1) = 0; a(n+1) = a(n) + A061398(n-1) for n>1.
EXAMPLE
a(1) = a(2) = a(3) = 0 because the only composite number < 5 is the square 4.
a(4) = 1: 6 is the first squarefree composite number < prime(4) = 7.
PROG
(PARI) m=0; pp=0; forprime(p=2, 320, forcomposite(c=pp, p, if(issquarefree(c), m++)); print1(m, ", "); pp=p)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Aug 11 2020
STATUS
approved