OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..3000
MAPLE
with(numtheory): a := proc (n) if bigomega(n-1) = 7 and bigomega(n+1) = 7 then n else end if end proc: seq(a(n), n = 2 .. 120000); # Emeric Deutsch, Mar 07 2009
MATHEMATICA
q=7; lst={}; Do[If[Plus@@Last/@FactorInteger[n-1]==q&&Plus@@Last/@FactorInteger[n+1]==q, AppendTo[lst, n]], {n, 9!}]; lst
Select[Range[110000], PrimeOmega[#+{1, -1}]=={7, 7}&] (* Harvey P. Dale, Apr 04 2015 *)
Mean/@SequencePosition[PrimeOmega[Range[105000]], {7, _, 7}] (* Harvey P. Dale, Sep 10 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 01 2009
EXTENSIONS
More terms from Emeric Deutsch, Mar 07 2009
STATUS
approved
