OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..100 (* All terms up to 1 million. *)
MATHEMATICA
Join[{1, 2, 3, 4}, Select[Range[35000], Union[Abs[Differences[IntegerDigits[#, 5]]]]=={2}&]] (* Harvey P. Dale, Sep 24 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved