|
|
A173438
|
|
Number of divisors d of number n such that d does not divide sigma(n).
|
|
5
|
|
|
0, 1, 1, 2, 1, 0, 1, 3, 2, 2, 1, 3, 1, 2, 2, 4, 1, 4, 1, 4, 3, 2, 1, 2, 2, 2, 3, 0, 1, 4, 1, 5, 2, 2, 3, 8, 1, 2, 3, 4, 1, 4, 1, 3, 4, 2, 1, 7, 2, 5, 2, 4, 1, 4, 3, 4, 3, 2, 1, 6, 1, 2, 5, 6, 3, 4, 1, 4, 2, 6, 1, 10, 1, 2, 5, 3, 3, 4, 1, 8, 4, 2, 1, 6, 3, 2, 2, 5, 1, 6, 2, 3, 3, 2, 2, 6, 1, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
a(n) = 0 for multiply-perfect numbers (A007691).
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n = 12, a(12) = 3; sigma(12) = 28, divisors of 12: 1, 2, 3, 4, 6, 12; d does not divide sigma(n) for 3 divisors d: 3, 6 and 12.
|
|
MAPLE
|
local sd, a;
sd := numtheory[sigma](n) ;
a := 0 ;
for d in numtheory[divisors](n) do
if modp(sd, d) <> 0 then
a := a+1 ;
end if;
end do:
a;
|
|
MATHEMATICA
|
Table[DivisorSum[n, 1 &, ! Divisible[DivisorSigma[1, n], #] &], {n, 98}] (* Michael De Vlieger, Oct 08 2017 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|