OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1918 (terms below 10^10)
MATHEMATICA
f[p_, e_] := DivisorSum[e + 1, p^(# - 1) &]; mesigma[1] = 1; mesigma[n_] := mesigma[n] = Times @@ f @@@ FactorInteger[n]; Select[Range[10^5], mesigma[#] == mesigma[#+1] &]
PROG
(PARI) mesigma(n) = {my(f=factor(n)); prod(i=1, #f~, sumdiv(f[i, 2]+1, d, f[i, 1]^(d-1))); }
lista(kmax) = {my(m1 = 1, m2); for(k = 2, kmax, m2 = mesigma(k); if(m1 == m2, print1(k-1, ", ")); m1 = m2); }
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Amiram Eldar, Dec 14 2024
STATUS
approved