Step number
= Step number
A <positive integer> whose adjacent decimal <numerical digits> differ by exactly 1. Its digits form a walk on the <path graph> $0-1-\cdots-9$, with a nonzero starting digit. Counting <pandigital numbers> of this type can use <digit dynamic programming> with the final digit and a <bit mask> of visited digits as the state.