OFFSET
1,2
COMMENTS
Previous name was: Numerators of running averages of A051904.
Due to a bug in the Mathematica code in the World of Mathematics page, the sequence was calculated with running averages over {A051904(1), 1, A051904(2), A051904(3), ... } with the first term removed. See A380266 for the correct sequence. - Amiram Eldar, Jan 18 2025
LINKS
Eric Weisstein's World of Mathematics, Niven's Constant.
FORMULA
a(n) = numerator((1 + Sum_{k=1..n} A051904(k))/(n+1)). - Amiram Eldar, Jan 18 2025
EXAMPLE
1/2, 2/3, 3/4, 1, 1, 1, 1, 11/9, 13/10, 14/11, ...
MATHEMATICA
f[n_] := Min[FactorInteger[n][[;; , 2]]]; f[1] = 0; With[{m = 100}, Numerator[(1 + Accumulate[Array[f, m]]) / Range[2, m + 1]]] (* Amiram Eldar, Jan 18 2025 *)
CROSSREFS
KEYWORD
nonn,easy,frac,dead
AUTHOR
Eric W. Weisstein, Jul 11 2003
STATUS
approved