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!)
A072966 Numbers which are not the sum of two semiprimes. 10

%I #15 Oct 16 2023 12:05:13

%S 0,1,2,3,4,5,6,7,9,11,17,22,33

%N Numbers which are not the sum of two semiprimes.

%C Is this sequence finite?

%C See the graph of sequence A072931 for compelling evidence that 33 is the last term of this sequence. - _T. D. Noe_, Apr 11 2007

%e a(10) = 11 since there is no way to represent 11 as a sum of two semiprimes. 13 is not a term since 13 = 4 + 9.

%t lim = 10000;

%t s = Select[Range[lim], PrimeOmega[#] == 2 &];

%t c = Map[Total,Union[Subsets[s, {2}], Table[{s[[i]], s[[i]]}, {i, 1, Length[s]}]]];

%t Join[Complement[Range[0, lim], c], ">", lim ](* _Robert Price_, Mar 30 2019 *)

%Y Cf. A001358.

%K nonn

%O 1,3

%A _Lior Manor_, Aug 13 2002

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 15 11:42 EDT 2024. Contains 372540 sequences. (Running on oeis4.)