OFFSET
1,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Join[{0}, Select[Range[250], (Sign/@Differences[IntegerDigits[#, 4]]) == PadRight[ {}, IntegerLength[#, 4]-1, {-1, 1}]&]] (* Harvey P. Dale, Sep 18 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
a(1)=0 inserted by Georg Fischer, Dec 18 2020
STATUS
approved