OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
7 is prime, Omega(7) = 1, 7 + 1 = 8 = 2*2*2, Omega(8) = 3.
MAPLE
Omegas:= [seq(numtheory:-bigomega(i), i=1..1001)]:
select(i -> Omegas[i]+2=Omegas[i+1], [$1..1000]); # Robert Israel, Jun 16 2020
MATHEMATICA
m = 2; s = {}; Do[If[PrimeOmega[x + 1] == PrimeOmega[x] + m, AppendTo[s, x]], {x, 500}]; s
Position[Partition[PrimeOmega[Range[500]], 2, 1], _?(#[[1]]==#[[2]]-2&), 1, Heads-> False]//Flatten (* Harvey P. Dale, Jul 04 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 16 2020
STATUS
approved
