OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
6*tau(3) = 6*2 = 3*4 = 3*tau(6), hence a(6) = 3.
MAPLE
A094758 := proc(n)
for k from 1 to n do
if n*numtheory[tau](k) = k*numtheory[tau](n) then
return k;
end if;
end do:
end proc: # R. J. Mathar, Nov 15 2019
MATHEMATICA
a[n_] := Module[{k = 1, r = DivisorSigma[0, n]/n}, While[DivisorSigma[0, k]/k != r, k++]; k]; Array[a, 100] (* Amiram Eldar, Aug 19 2019 *)
PROG
(PARI) for(n=1, 75, s=numdiv(n); k=1; while(n*numdiv(k)!=k*s, k++); print1(k, ", "));
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, May 30 2004
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jun 01 2004
STATUS
approved