login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A168628
Numbers n such that n and n+-1 have 4 distinct prime factors.
3
37961, 44485, 45695, 50141, 51429, 55131, 55385, 61335, 63365, 64295, 67165, 68265, 68475, 70005, 70091, 71709, 72709, 76153, 80445, 81549, 81719, 82041, 84435, 85491, 86241, 90364, 95381, 97383, 98021, 99085, 99385, 99429, 99789, 100165, 100491, 100595
OFFSET
1,1
MATHEMATICA
f[n_]:=Length[FactorInteger[n]]; lst={}; Do[If[f[n]>=4&&f[n-1]>=4&&f[n+1]>=4, AppendTo[lst, n]], {n, 9!}]; lst
SequencePosition[PrimeNu[Range[110000]], {4, 4, 4}][[All, 1]]+1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 27 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by Harvey P. Dale, Apr 27 2018
STATUS
approved