OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
EXAMPLE
The first eight abundant numbers are 12, 18, 20, 24, 30, 36, 40 and 42. But only the last one is divisible by 7. Therefore a(7) = 42.
MATHEMATICA
Do[ k = 11; While[ m = DivisorSigma[ 1, k ] - 2k; m <= 0 || Mod[ k, n ] != 0, k++ ]; Print[ k ], {n, 1, 75} ]
With[{abnos=Select[Range[500], DivisorSigma[1, #]>2#&]}, Table[ SelectFirst[ abnos, Divisible[ #, n]&], {n, 70}]] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, Nov 29 2015 *)
PROG
(PARI) { for (n=1, 1000, k=11; until (sigma(k) - k > k && k%n == 0, k++); write("b064162.txt", n, " ", k) ) } \\ Harry J. Smith, Sep 09 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Sep 15 2001
STATUS
approved