OFFSET
1,1
COMMENTS
Conjecture: a(n) exists for any n > 0.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 40 since 40 + 5 = 45 divides sigma(40) = 90.
a(1162) = 24031232 since 24031232 + 1162 = 24032394 divides sigma(24031232) = 48064788 = 2*24032394.
MATHEMATICA
Do[m=1; Label[aa]; If[Mod[DivisorSigma[1, m], m+n]==0, Print[n, " ", m]; Goto[bb]]; m=m+1; Goto[aa]; Label[bb]; Continue, {n, 1, 60}]
lpi[n_]:=Module[{m=1}, While[!Divisible[DivisorSigma[1, m], m+n], m++]; m]; Array[lpi, 60] (* Harvey P. Dale, Feb 21 2020 *)
PROG
(PARI) a(n) = my(m = 1); while(sigma(m) % (m+n), m++); m; \\ Michel Marcus, Aug 08 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Oct 09 2014
STATUS
approved