|
|
A070843
|
|
Largest n-digit number with exactly n distinct prime divisors. There are no further terms.
|
|
2
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(4) = 9996 with the prime divisors 2,3,7 and 17.
|
|
MATHEMATICA
|
Do[k = 10^n - 1; While[Length[FactorInteger[k]] != n, k-- ]; Print[k], {n, 1, 10}] (* Ryan Propper, Nov 05 2005 *)
lnpd[n_]:=Module[{k=10^n-1}, While[PrimeNu[k]!=n, k--]; k]; Array[lnpd, 10] (* Harvey P. Dale, Sep 30 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,fini,full
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|