OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
4 is a term: 4 = 2*2 has 2 prime factors (counted with multiplicity), and 4 - 2 = 2 (a prime).
8 is a term: 8 = 2*2*2 has 3 prime factors, and 8 - 3 - 5 (a prime).
9 is a term: 9 = 3*3 has 2 prime factors, and 9 - 2 = 7 (a prime).
MAPLE
select(t -> not isprime(t) and isprime(t - numtheory:-bigomega(t)), [$4..1000]); # Robert Israel, Apr 08 2018
MATHEMATICA
Select[Range[350], CompositeQ[#]&&PrimeQ[#-PrimeOmega[#]]&] (* Harvey P. Dale, Apr 01 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 16 2009, Nov 14 2009
EXTENSIONS
Entries checked by R. J. Mathar, May 19 2010
STATUS
approved