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!)
A146295 Integers which are not the sum of a 4-almost prime and a prime. 4

%I #7 Jun 16 2019 22:30:16

%S 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,24,25,28,30,32,34,36,

%T 40,44,46,48,50,52,54,60,64,66,68,70,72,74,76,78,80,82,96,108,114,116,

%U 120,126,130,132,136,144,150,156,162,168,174,180,204,210,216,240,246,258

%N Integers which are not the sum of a 4-almost prime and a prime.

%C Largest term is 60060 (see b-file). No more terms < 10^8. Conjectured to be complete.

%H Donovan Johnson, <a href="/A146295/b146295.txt">Table of n, a(n) for n=2..196</a>

%e 20 is in this sequence because no 4-almost prime and a prime sum to 20. 21 is not in this sequence because the sum of 16 (4-almost prime) and 5 (prime) is 21.

%t Complement[Range[1000], Union@Flatten@Outer[Plus, Select[Range[1000], PrimeOmega[#] == 4 &], Prime[Range[PrimePi[1000]]]]] (* _Robert Price_, Jun 16 2019 *)

%Y Cf. A000040, A014613, A130588, A146296, A146297.

%K fini,nonn

%O 2,1

%A _Donovan Johnson_, Nov 05 2008

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 2 12:49 EDT 2024. Contains 372196 sequences. (Running on oeis4.)