OFFSET
1,30
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Paul Erdős, Problem 10192, The American Mathematical Monthly, Vol. 99, No. 1 (1992), p. 61; An Arithmetic Function of Modest Size, solution to problem 10192 by Richard Stong, ibid., Vol. 104, No. 1 (1997), pp. 69-70.
FORMULA
a(n) <= omega(n), and a(n) < omega(n) whenever omega(n) > 1.
Max_{k=2..n} a(k) ~ log(n)/(log(log(n)) + o(1)) (Erdős, 1992).
EXAMPLE
MATHEMATICA
a[1] = 1; a[n_] := IntegerExponent[LCM @@ Range[n], n]; Array[a, 100]
PROG
(PARI) a(n) = if (n==1, 1, valuation(lcm([1..n]), n)); \\ Michel Marcus, Jul 17 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jul 16 2021
STATUS
approved