OFFSET
1,1
COMMENTS
I call n a "k-apex" (or "apex of height k") of the arithmetical function f if n satisfies f(n-k) < ... < f(n-1) < f(n) > f(n+1) > .... > f(n+k).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
105 is a term since omega(105) = 3, omega(104) = omgea(106) = 2, and omega(103) = omega(107) = 1, so omega(103) < omega(104) < omega(105) > omega(106) > omega(107).
MATHEMATICA
omega[n_] := Length[FactorInteger[n]]; Select[Range[4, 10^4], omega[ # - 2] < omega[ # - 1] < omega[ # ] > omega[ # + 1] > omega[ # + 2] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Nov 13 2002
STATUS
approved