OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_] := Module[{k = n+1, s = DivisorSigma[1, n]}, While[!Divisible[DivisorSigma[1, k], s], k++]; k]; Array[a, 100] (* Amiram Eldar, Jun 03 2022 *)
PROG
(PARI) for(s=1, 80, n=s+1; while(frac(sigma(n)/sigma(s))>0, n++); print1(n, ", "); )
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 01 2002
STATUS
approved