cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A111939 Number of primes < semiprime(n).

This page as a plain text file.
%I A111939 #22 Sep 07 2024 08:53:38
%S A111939 2,3,4,4,6,6,8,8,9,9,11,11,11,12,12,14,15,15,16,16,16,18,18,19,21,21,
%T A111939 22,23,23,23,24,24,24,24,27,29,30,30,30,30,30,30,31,32,32,34,34,34,34,
%U A111939 34,36,37,37,37,38,39,40,40,42,42,42,44,46,46,46,46,46,46,47,47,47,47,47
%N A111939 Number of primes < semiprime(n).
%H A111939 Amiram Eldar, <a href="/A111939/b111939.txt">Table of n, a(n) for n = 1..10000</a>
%F A111939 a(n) = A000720(A001358(n)).
%t A111939 PrimePi@Select[Range@218, Plus @@ Last /@ FactorInteger@# == 2 &] (* _Robert G. Wilson v_, Jan 10 2006 *)
%t A111939 PrimePi/@Select[Range[300],PrimeOmega[#]==2&] (* _Harvey P. Dale_, Nov 16 2014 *)
%Y A111939 Cf. A000720, A001358, A122489.
%Y A111939 Partial sums of A176451.
%K A111939 nonn
%O A111939 1,1
%A A111939 _Giovanni Teofilatto_, Nov 27 2005
%E A111939 More terms from _Robert G. Wilson v_, Lambert Herrgesell (zero815(AT)googlemail.com) and _Matthew Conroy_, Dec 16 2005
%E A111939 Entry revised by _Ray Chandler_, Sep 20 2006