A086195 Incorrect version of A380266.
1, 2, 3, 1, 1, 1, 1, 11, 13, 14, 5, 16, 17, 6, 19, 23, 4, 25, 13, 9, 14, 29, 5, 31, 33, 34, 37, 38, 13, 40, 41, 46, 47, 48, 49, 51, 26, 53, 27, 55, 4, 57, 29, 59, 30, 61, 31, 9, 13, 22, 67, 68, 23, 14, 71, 24, 73, 74, 5, 76, 77, 26, 79, 17, 43, 87, 22, 89, 9, 91, 23, 94, 95
Offset: 1
Examples
1/2, 2/3, 3/4, 1, 1, 1, 1, 11/9, 13/10, 14/11, ...
Links
- Eric Weisstein's World of Mathematics, Niven's Constant.
Programs
-
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 *)
Formula
a(n) = numerator((1 + Sum_{k=1..n} A051904(k))/(n+1)). - Amiram Eldar, Jan 18 2025
Comments