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