login
A091800
Largest n-digit number with maximal number of distinct prime divisors.
0
6, 90, 990, 9870, 99330, 930930, 9699690, 99981420, 999068070, 9592993410, 99978788910, 999890501610, 9814524629910
OFFSET
1,1
MATHEMATICA
a[n_] := Module[{k=0, p=1, r=1, t=10^n}, While[r < t, p = NextPrime[p]; r *= p; k++]; k--; m = t-1; While[PrimeNu[m] != k, m--]; m]; Array[a, 8] (* Amiram Eldar, Mar 03 2020 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Amarnath Murthy, Feb 21 2004
EXTENSIONS
Edited, corrected and extended by Ray Chandler, Feb 23 2004
a(10)-a(12) from Amiram Eldar, Mar 03 2020
a(13) from Giovanni Resta, Mar 04 2020
STATUS
approved