OFFSET
1,2
COMMENTS
If n-1 is prime, a(n) = n-1.
a(29) <= 1176249221876579007725568000.
Index of first occurrence of n in A017665. - Michel Marcus, Mar 24 2014
LINKS
Giovanni Resta, Terms a(n) < 10^12, for n <= 1000
EXAMPLE
a(2) = 6 since 6 is the first perfect number, with 2 as the numerator of sigma(6)/6.
a(3) = 2 because sigma(2)/2 = 3/2 and it is the first number that gives this numerator.
PROG
(PARI) a(n) = {k = 1; while (numerator(sigma(k)/k) != n, k++); k; }
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Michel Marcus, Mar 21 2014
EXTENSIONS
a(23) = 1907020800 confirmed by Giovanni Resta, Mar 21 2014
STATUS
approved