OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
a(11) = 6 because sigma(6) = sigma(11) = 12.
MATHEMATICA
With[{nn = 76}, With[{s = Values@ PositionIndex@ Array[DivisorSigma[1, #] &, nn]}, Array[s[[FirstPosition[s, #][[1]], 1 ]] &, nn]]] (* Michael De Vlieger, Nov 16 2017 *)
PROG
(PARI) a(n) = {my(k = 1); while(sigma(k) != sigma(n), k++); k; }
(PARI) a(n) = invsigmaMin(sigma(n)); \\ Amiram Eldar, Dec 20 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Altug Alkan, Aug 15 2016
STATUS
approved