OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Ivan Niven, Averages of Exponents in Factoring Integers, Proc. Amer. Math. Soc., Vol. 22, No. 2 (1969), pp. 356-360.
Eric Weisstein's World of Mathematics, Niven's Constant.
Wikipedia, Niven's constant.
FORMULA
a(n) = denominator((Sum_{k=1..n} A051903(k))/n).
MATHEMATICA
f[n_] := Max[FactorInteger[n][[;; , 2]]]; f[1] = 0; With[{m = 100}, Denominator[Accumulate[Array[f, m]] / Range[m]]]
PROG
(PARI) lista(nmax) = {my(s = 0); print1(1, ", "); for(n = 2, nmax, s += vecmax(factor(n)[, 2]); print1(denominator(s/n), ", ")); }
CROSSREFS
KEYWORD
nonn,easy,frac,new
AUTHOR
Amiram Eldar, Jan 18 2025
STATUS
approved