|
|
A325470
|
|
a(n) is the sum of divisors d of n such that d divides sigma(d).
|
|
4
|
|
|
1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 29, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 29, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 35, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,6
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n = 12, divisors d of 12: 1, 2, 3, 4, 6, 12; corresponding sigma(d): 1, 3, 4, 7, 12, 28; d divides sigma(d) for 2 divisors d: 1 and 6; a(12) = 1 + 6 = 7.
|
|
MATHEMATICA
|
a[n_] := DivisorSum[n, # &, Divisible[DivisorSigma[1, #], #] &]; Array[a, 100] (* Amiram Eldar, Aug 17 2019 *)
|
|
PROG
|
(Magma) [&+[d: d in Divisors(n) | IsIntegral(SumOfDivisors(d) / d)] : n in [1..100]]
(PARI) a(n)={sumdiv(n, d, if(sigma(d) % d == 0, d))} \\ Andrew Howroyd, Aug 16 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|