OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MAPLE
A002808 := proc(n) local resul, i ; i := 1 ; resul := 4 ; while i < n do resul := resul+1 ; while isprime(resul) do resul := resul+1 ; od ; i := i+1 ; od; RETURN(resul) ; end: A000720 := proc(n) numtheory[pi](n) ; end: A001221 := proc(n) nops(numtheory[factorset](n)) ; end: A048865 := proc(n) A000720(n)-A001221(n) ; end: A129309 := proc(n) A048865(A002808(n)) ; end: seq(A129309(n), n=1..80) ; # R. J. Mathar, Jun 15 2007
MATHEMATICA
A002808[n_] := Select[Range[2, 2*n], ! PrimeQ[#] &]; A048865[n_] := PrimePi[n] - PrimeNu[n]; A048865[A002808[50]] (* G. C. Greubel, May 16 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 26 2007
EXTENSIONS
More terms from R. J. Mathar, Jun 15 2007
STATUS
approved