OFFSET
1,2
MATHEMATICA
Join[Range[5], Select[Range[2000], Union[Abs[Differences[IntegerDigits[#, 6]]]]=={1}&]] (* Harvey P. Dale, Dec 28 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved