OFFSET
1,10
COMMENTS
This is the base-7 total variation sequence; see A297330. - Clark Kimberling, Jan 18 2017
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
MATHEMATICA
b = 7; z = 120; t = Table[Total@Flatten@Map[Abs@Differences@# &, Partition[IntegerDigits[n, b], 2, 1]], {n, z}] (* cf. Michael De Vlieger, A037834 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Updated by Clark Kimberling, Jan 20 2018
STATUS
approved