OFFSET
1,1
COMMENTS
There are 816 such permutations, last six a(811)-a(816) being 983467521, 983521467, 983521647, 983641257, 983647251, 983647521.
LINKS
Eric M. Schmidt, Table of n, a(n) for n = 1..816 (complete sequence)
EXAMPLE
127463859 => 127, 463, 859 all prime; 127643859 => 127, 643, 859 all prime etc.
MATHEMATICA
Select[Permutations[Range[9]], Union[PrimeQ/@FromDigits/@Partition[ #, 3]]--{True}&]
CROSSREFS
KEYWORD
fini,full,nonn,base
AUTHOR
Zak Seidov, Mar 04 2006
STATUS
approved