OFFSET
2,2
COMMENTS
Number of semiprimes (A001358) < n^2. [Michel Marcus, Sep 02 2013]
EXAMPLE
a(3)=2 because only the prime pairs (2,2) and (2,3) form products < 9.
PROG
(PARI) a(n) = {sqn = n^2; idp = primepi(sqn\2); nbp = 0; for (i = 1, idp, p = prime(i); for (j = 1, i, if (p * prime(j) < sqn, nbp++); ); ); nbp; } \\ Michel Marcus, Sep 02 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Joe K. Crump (joecr(AT)carolina.rr.com)
STATUS
approved