OFFSET
1,1
COMMENTS
Equivalently: largest n-digit squarefree number with n distinct prime factors (A167050).
Differs from A036337 where length(m) = bigomega(m) = n, when length(m) is the number of digits of m (A055642) and the n prime factors of m are counted with multiplicity (A001222).
Differs from A070843 where length(m) = omega(m) = n, when length(m) is the number of digits of m (A055642) and omega(m) is the number of distinct primes factors dividing m (A001221).
The first index for which these three sequences give three distinct terms is 4:
-> a(4) = 9982 = 2 * 7 * 23 * 31 with omega(9982) = bigomega(9982) = 4.
-> A036337(4) = 9999 = 3 * 3 * 11* 101 with bigomega(9999) = 4 > omega(9999) = 3.
-> A070843(4) = 9996 = 2^2 * 3 * 7^2 *17 with omega(9996) = 4 < bigomega(9996) = 6.
EXAMPLE
9592993410 = 2 * 3 * 5 * 7 * 11 * 13 * 17 * 19 * 23 * 43 and length(9592993410) = omega(9592993410) = bigomega(9592993410) = 10, so, a(10) = 9592993410 is a term; it is also the largest squarefree number with as many decimal digits as distinct prime factors (A167050).
MATHEMATICA
a={}; For[n=1, n<=10, n++, For[m=10^n-1, m>=10^(n-1), m--, If[PrimeOmega[m]==PrimeNu[m]==n, AppendTo[a, m]; Break[]]]]; a (* Stefano Spezia, Mar 06 2021 *)
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Bernard Schott, Feb 28 2021
STATUS
approved