OFFSET
1,2
COMMENTS
See A051281 for numbers m such that sigma(m) = tau(m)^k where k = integer.
a(n) = 0 for n = 76, 81, ...
EXAMPLE
a(4) = 217 because 217 is the smallest number m such that sigma(m) = tau(m)^4; sigma(217) = 256 = tau(217)^4 = 4^4.
MATHEMATICA
Table[Block[{m = n}, While[#2 != #1^n & @@ DivisorSigma[{0, 1}, m], m++]; m], {n, 10}] (* Michael De Vlieger, Nov 05 2021 *)
PROG
(Magma) [1] cat [Min([m: m in[2..10^6] | &+Divisors(m) eq #Divisors(m)^n]): n in [2..10]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Nov 05 2021
STATUS
approved