A175279 Base-7 pandigital primes: primes having at least one of each digit 0,...,6 when written in base 7.
863231, 863279, 863867, 863897, 864203, 864251, 865379, 865871, 865877, 866011, 866399, 866653, 866693, 867641, 867719, 868033, 868069, 868081, 868103, 868121, 868123, 868327, 868423, 868453, 868669, 868787, 868793, 868801, 868943, 868999
Offset: 1
Examples
The smallest base-7 pandigital primes are "10223465", "10223564", "10225364", "10225436", "10226354" and "10226453", written in base 7.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
Select[Range[10^6], Min @ DigitCount[#, 7] > 0 && PrimeQ[#] &] (* Amiram Eldar, Apr 13 2021 *)
-
PARI
base7(n)={ local(a=[n%7]);while(0
Extensions
Edited by Charles R Greathouse IV, Aug 02 2010
Comments