OFFSET
1,2
MATHEMATICA
Join[Range[6], Select[Range[27000], Union[Abs[Differences[IntegerDigits[#, 7]]]] =={3}&]] (* Harvey P. Dale, Apr 21 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved