OFFSET
1,6
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
Between prime(6)=13 and prime(7)=17 there are two terms in A030229, namely 14 and 15, so a(6) = 2.
MAPLE
readlib(issqr): sstmp := proc(n) local t1, i; t1 := 0; for i from ithprime(n) to ithprime(n+1) do if (issqrfree(i) = 'true' and mobius(i)=1) then t1 := t1+1; fi; od; t1; end: sstmp(200);
MATHEMATICA
nt[{a_, b_}]:=Count[MoebiusMu[Range[a+1, b-1]], 1]; nt/@Partition[Prime[ Range[ 110]], 2, 1] (* Harvey P. Dale, May 18 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jani Melik, Sep 30 2002
EXTENSIONS
Clarified definition, corrected offset, edited. - N. J. A. Sloane, May 18 2021
STATUS
approved