OFFSET
1,7
COMMENTS
A prime number p dominates a composite numbers c if p is the dominant prime factor of c. A prime factor p of c is dominant if floor(sqrt(p)) > (c/p).
EXAMPLE
53 dominates 106, 159, 212, 265, 318; therefore a(16) = 5.
MATHEMATICA
a[n_] := Module[{p = Prime[n], c, k}, For[k = 0; c = 2 p, c <= p Sqrt[p], c += p, If[Floor[Sqrt[p]] > c/p, k++]]; k]; Array[a, 74] (* Jean-François Alcover, Jul 21 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 28 2016
STATUS
approved