OFFSET
1,4
COMMENTS
a(n) is the logarithm to the base 5 of the denominator of the Dirichlet series of zeta(s)^(1/5). For details, see A256693.
LINKS
Robert Israel and Wolfgang Hintze, Table of n, a(n) for n = 1..10000 (up to 500 from Wolfgang Hintze)
MathOverflow, The number of prime factors of a natural number.
FORMULA
5^a(n) = A256693(n).
For n<=10000, if n = Product_i p_i^(e_i) is the prime factorization of n, a(n) = A001222(n) + Sum_i floor(e_i/5). - Robert Israel, May 13 2016
If n = Product_i p_i^(e_i) is the prime factorization of n, a(n) = Sum_{j >= 0} Sum_i floor(e_i/5^j). - Robert Israel, May 16 2016
MAPLE
F:= proc(n) local e, m;
add(add(floor(e/5^m), m=0..floor(log[5](e))), e=map(t-> t[2], ifactors(n)[2]));
end proc:
seq(F(i), i=1..100);
MATHEMATICA
F[n_] := Sum[Sum[Floor[e/5^m], {m, 0, Floor[Log[5, e]]}], {e, FactorInteger[n][[All, 2]]}];
F[1] = 0;
Array[F, 100] (* Jean-François Alcover, Jun 18 2020, after Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wolfgang Hintze, Apr 16 2015
STATUS
approved