OFFSET
1,1
COMMENTS
Sequence contains the values 2,3,4,5,6,7,8,9,10,11,12. The smallest x such that a(x)=12 is x = 32768 = 2^15.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
MATHEMATICA
a[n_] := Module[{k = 2}, While[!Divisible[DivisorSigma[0, k*n], k], k++]; k]; Array[a, 100] (* Amiram Eldar, Jun 03 2022 *)
PROG
(PARI) A072865(n) = for(k=2, oo, if(!(numdiv(k*n)%k), return(k))); \\ Antti Karttunen, Sep 27 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jul 27 2002
STATUS
approved