OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := For[k = 1, True, k++, If[DivisorSigma[0, k*n] == DivisorSigma[0, n^2], Return[k]]]; Array[a, 72] (* Jean-François Alcover, Aug 14 2014 *)
PROG
(PARI) a(n) = {my(k = 1, d = numdiv(n^2)); while(numdiv(k*n) != d, k++); k; } \\ Amiram Eldar, Apr 15 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 06 2004
STATUS
approved