OFFSET
1,2
COMMENTS
a(n) is the smallest n-digit number of the form p^7, p^3*q or p*q*r (p, q, r = distinct primes), a(n) = 0 if no such number exists.
There is a large overlap with A180922 because the candidates p*q*r are also of the 3-almost-primes format required there. - R. J. Mathar, Apr 23 2024
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..100
FORMULA
a(n) = min {10^(n-1) <= k < 10^n : A000005(k)=8} if set is nonempty, else a(n) = 0.
MAPLE
with (numtheory):
a:= proc(n) local k;
if n<2 then 0
else for k from 10^(n-1) while tau(k)<>8
do od; k
fi
end:
seq (a(n), n=1..20);
PROG
(PARI) a(n) = for(k = 10^(n-1), 10^n-1, if(numdiv(k)==8, return(k))); 0; \\ Amiram Eldar, Apr 09 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Nov 27 2010
EXTENSIONS
Edited by Alois P. Heinz, Nov 27 2010
a(20)-a(21) from Amiram Eldar, Apr 09 2024
STATUS
approved