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