A130588 Integers which are not the sum of a 3-almost prime and a prime.
2, 3, 4, 5, 6, 7, 8, 9, 12, 16, 18, 24, 26, 28, 36, 42, 60, 84, 90, 96, 114, 300
Offset: 2
Examples
n<10 are in this sequence because the smallest 3-almost prime is 8, hence the smallest 3-almost prime plus prime is 10 = 8 + 2. We have that 282 is not in this sequence because 282 = 125 + 157 = A014612(30) + A000040(37).
Programs
-
Mathematica
Rest@Complement[Range[1000], Union@Flatten@Outer[Plus, Select[Range[1000], PrimeOmega[#] == 3 &], Prime[Range[PrimePi[1000]]]]] (* Robert Price, Jun 16 2019 *)
Comments