login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A182696
a(n) = the largest 4-digit number with exactly n divisors, a(n) = 0 if no such number exists.
1
0, 9973, 9409, 9998, 2401, 9981, 0, 9994, 9025, 9904, 1024, 9999, 4096, 9664, 9801, 9982, 0, 9972, 0, 9968, 7744, 7168, 0, 9975, 1296, 0, 6400, 9920, 0, 9680, 0, 9990, 9216, 0, 5184, 9996, 0, 0, 0, 9936, 0, 9792, 0, 0, 8100, 0, 0, 9828, 0, 9072, 0, 0, 0, 9900, 0, 8640, 0, 0, 0, 9360, 0, 0, 0, 9240
OFFSET
1,2
COMMENTS
Among all 4-digit numbers, 64 is the maximum number of divisors, so a(64) is the last nonzero term.
FORMULA
A000005(a(n)) = n for a(n) > 0.
MATHEMATICA
tbl=Table[{n, DivisorSigma[0, n]}, {n, 1000, 9999}];
Table[Max[Transpose[Select[tbl, #[[2]]==x&]][[1]]], {x, 70}]/.-\[Infinity]->0//Quiet (* Harvey P. Dale, Dec 02 2010 *)
CROSSREFS
Cf. A182695.
Sequence in context: A266917 A031858 A254975 * A126978 A188790 A190832
KEYWORD
nonn,base,fini,full
AUTHOR
Jaroslav Krizek, Nov 27 2010
EXTENSIONS
Edited by Jon E. Schoenfield, Mar 11 2014
STATUS
approved