OFFSET
1,1
COMMENTS
Digits 3,4,5,9 can be used no more than once; 1 can be used no more than twice.
Sequence is finite, ending with a(221) = 954131.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..221 (full sequence)
MAPLE
A156221:={}: occ:=[0, 2, 0, 1, 1, 1, 0, 0, 0, 1]: p:=2: while p<=954311 do cordig:=true: for k from 1 to 10 do d:=convert(p, base, 10): if(numboccur(k-1, d)>occ[k])then cordig:=false:break: fi: od: if(cordig)then A156221:=A156221 union {p}: fi: p:=nextprime(p): od: op(sort(convert(A156221, list))); # Nathaniel Johnston, Jun 24 2011
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Ki Punches, Feb 06 2009
EXTENSIONS
Edited and corrected by Ray Chandler, Feb 08 2009
STATUS
approved