OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..2000
EXAMPLE
55 is a term: 55-1 = 54 = 2*3*3*3 and 55+1 = 56 = 2*2*2*7.
MATHEMATICA
q=4; lst={}; Do[If[Plus@@Last/@FactorInteger[n-1]==q&&Plus@@Last/@FactorInteger[n+1]==q, AppendTo[lst, n]], {n, 7!}]; lst
SequencePosition[PrimeOmega[Range[1200]], {4, _, 4}][[All, 1]]+1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 08 2019 *)
PROG
(PARI) is(k) = bigomega(k-1)==4 && bigomega(k+1)==4; \\ Jinyuan Wang, Mar 22 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 01 2009
STATUS
approved
