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”).

A066424
The n-digit number whose divisors have the maximal sum (A066410).
1
8, 96, 960, 9240, 98280, 997920, 9979200, 99459360, 994593600, 9777287520, 97772875200, 995886571680, 9958865716800, 99588657168000, 998456601542400, 9948906851083200, 98930408269492800, 994651672331116800, 9946516723311168000, 99796717790555385600
OFFSET
1,1
EXAMPLE
960 is the 3-digit number the sum of whose divisors (3048) is largest.
MATHEMATICA
a[n_] := Module[{mx=1}, For[k=10^(n-1), k<=10^n-1, k++, If[(t=DivisorSigma[1, k]) > mx, mx=t; kx=k]]; kx]; Array[a, 6] (* Stefano Spezia, Nov 07 2024 *)
CROSSREFS
Cf. A066410.
Sequence in context: A116144 A074114 A069650 * A276593 A099675 A211345
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Dec 26 2001
EXTENSIONS
Corrected and extended by Vladeta Jovovic, Dec 29 2001
Offset corrected by Stefano Spezia, Nov 07 2024
STATUS
approved