|
|
A160402
|
|
Primes made up of all distinct digits except 0 and 1.
|
|
5
|
|
|
23456789, 23458679, 23459687, 23465789, 23465987, 23469587, 23475869, 23478569, 23489657, 23495867, 23496587, 23498567, 23546879, 23546987, 23548697, 23564897, 23564987, 23567849, 23569487, 23576489, 23584679, 23587649, 23589647, 23594687
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
More precisely, "primes made up of all distinct digits from 2 to 9, each occurring once." Since this restricts the number of digits to 8, the sequence is finite.
Also numbers n such that the list of divisors of n contains all the digits 1-9 and each digit appears exactly once (in base 10). There are no composite numbers with this property. Numbers n such that A243360(n) = 987654321. - Jaroslav Krizek, Jun 19 2014
|
|
LINKS
|
|
|
MAPLE
|
A160402:={}: p:=23456789: while p<=98765432 do d:=convert(p, base, 10): ddig:=true: for k from 0 to 9 do if((k<=1 and numboccur(k, d)>0) or (k>=2 and numboccur(k, d)<>1))then ddig:=false:break: fi: od: if(ddig)then A160402:=A160402 union {p}: fi: p:=nextprime(p): od: op(sort(convert(A160402, list))); # Nathaniel Johnston, Jun 24 2011
|
|
PROG
|
(Magma) [n: n in [1..100000000] | Seqint(Sort(&cat[(Intseq(k)): k in Divisors(n)])) eq 987654321] // Jaroslav Krizek, Jun 19 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|