OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(A000040(n)) = 1.
EXAMPLE
a(6) = 60073; a(6) = 6^10 * Sum_{p|6, p prime} 1/p^10 = 60466176 * (1/2^10 + 1/3^10) = 60073.
MAPLE
f:= proc(n) local p;
n^10 * add(1/p^10, p = numtheory:-factorset(n))
end proc:
map(f, [$1..40]); # Robert Israel, Sep 10 2024
MATHEMATICA
Join[{0}, Table[n^10 Total[1/FactorInteger[n][[;; , 1]]^10], {n, 2, 40}]] (* Harvey P. Dale, Aug 10 2024 *)
PROG
(Python)
from sympy import primefactors
def A351262(n): return sum((n//p)**10 for p in primefactors(n)) # Chai Wah Wu, Feb 05 2022
(PARI) a(n) = my(f=factor(n)); n^10*sum(k=1, #f~, 1/f[k, 1]^10); \\ Michel Marcus, Sep 10 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Feb 05 2022
STATUS
approved