OFFSET
1,2
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
The base-11 digits of 1586 are 1,2,1,2; here #(pits) = 1 and #(peaks) = 1, so 1586 is in the sequence.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Clark Kimberling, Jan 10 2018
STATUS
approved