OFFSET
1,101
LINKS
Iain Fox, Table of n, a(n) for n = 1..10000
PROG
(PARI) a(n) = my(c); for(i=2, #n=digits(n), if(abs(n[i]-n[i-1])==1, c++)); c
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset corrected by Iain Fox, Oct 29 2018
STATUS
approved