OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
45 is in the sequence because it has 2 prime factors (3 and 5) as do 44 (2 and 11) and 46 (2 and 23).
MATHEMATICA
For[i=1, i<1000, If[And[Length[FactorInteger[i-1]]==Length[FactorInteger[i]], Length[FactorInteger[i+1]]==Length[FactorInteger[i]]], Print[i]]; i++ ]
Select[Range[2, 225], PrimeNu[#] == PrimeNu[# - 1] == PrimeNu[# + 1] &] (* Jayanta Basu, Aug 11 2013 *)
SequencePosition[PrimeNu[Range[300]], {x_, x_, x_}][[All, 1]]+1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 18 2018 *)
PROG
(PARI) isok(n) = (omega(n) == omega(n-1)) && (omega(n)==omega(n+1)) \\ Michel Marcus, May 05 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Neil Fernandez, Dec 21 2004
STATUS
approved