A175274 Base-20 pandigital primes: primes having at least one of each digit 0,...,19, when written in base 20.
105148064265927977839670339, 105148064265927977839838717, 105148064265927977839990337, 105148064265927977842711099, 105148064265927977843159537, 105148064265927977846038379
Offset: 1
Links
- Alonso Del Arte, Classifications of prime numbers - By representation in specific bases, OEIS Wiki as of Mar 19 2010.
Programs
-
PARI
pdp( b=20/*base*/, c=99/* # of terms to produce */) = { my(t, a=[], bp=vector(b,i,b^(b-i))~, offset=b*(b^b-1)/(b-1)); for( i=1,b-1, offset+=b^b; for( j=0,b!-1, isprime(t=offset-numtoperm(b,j)*bp) | next; #(a=concat(a,t))
Comments