OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
Omega(61) = 1 < Omega(62) = 2 < Omega(63) = 3, so 62 is a 1-apex of Omega.
MAPLE
Res:= NULL: a:= numtheory:-bigomega(1): b:= numtheory:-bigomega(2):
for n from 3 to 1001 do
c:= numtheory:-bigomega(n);
if a < b and b < c then Res:= Res, n-1 fi;
a:= b; b:= c;
od:
Res; # Robert Israel, Oct 28 2018
MATHEMATICA
Select[Range[3, 10^3], Omega[ # - 1] < Omega[ # ] < Omega[ # + 1] &]
Flatten[Position[Partition[PrimeOmega[Range[1000]], 3, 1], _?(Min[ Differences[ #]]>0&), {1}, Heads->False]]+1 (* Harvey P. Dale, Nov 28 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Nov 13 2002
EXTENSIONS
Edited by Robert Israel, Oct 28 2018
STATUS
approved