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