OFFSET
1,2
LINKS
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; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 15 2016
STATUS
approved