The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038108 Number of prime pairs {p,q}, such that pq < n^2. 1
0, 2, 6, 8, 13, 16, 22, 26, 34, 39, 48, 55, 62, 75, 82, 89, 103, 113, 126, 135, 149, 163, 179, 190, 202, 220, 236, 252, 270, 288, 304, 320, 340, 360, 381, 403, 425, 443, 462, 483, 508, 532, 556, 581, 604, 633, 655, 678, 709, 738, 761, 782 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
Number of semiprimes (A001358) < n^2. [Michel Marcus, Sep 02 2013]
LINKS
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
Cf. A205726.
Sequence in context: A229056 A186703 A054248 * A356217 A294862 A087327
KEYWORD
nonn
AUTHOR
Joe K. Crump (joecr(AT)carolina.rr.com)
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 08:24 EDT 2024. Contains 372729 sequences. (Running on oeis4.)