OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..100
MATHEMATICA
cd56Q[n_]:=Module[{d=Abs[Differences[IntegerDigits[n]]]}, Max[d]<7 && Min[ d]>4]; Select[Prime[Range[33000]], cd56Q] (* Harvey P. Dale, Oct 02 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 1999
STATUS
approved