OFFSET
1,2
COMMENTS
Smallest k >=1 such that (number of numbers whose divisor sum to k*n) = m:
m \n| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
---------------------------------------------------------------------------
0 | 2 | 1 | 3 | 4 | 1 | 11 | 3 | 2 | 1 | 1 | 1 | 23 |
1 | 1 | 2 | 1 | 1 | 3 | 1 | 1 | 1 | 2 | 2 | 4 | 3 |
2 | 12 | 6 | 4 | 3 | 16 | 2 | 8 | 4 | 2 | 8 | 12 | 1 |
3 | 24 | 12 | 8 | 6 | 12 | 4 | 6 | 3 | 10 | 6 | ...| |
...
EXAMPLE
a(2) = 2 because (number of numbers whose divisor sum to 2*2) = 1.
PROG
(PARI) a(n)=my(k=oo, m, t); while(m<k, t=sigma(m++)/n; if(denominator(t)==1 && t<k, k=t)); k \\ Charles R Greathouse IV, Mar 09 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 08 2017
EXTENSIONS
Corrected by Charles R Greathouse IV, Mar 09 2017
STATUS
approved