OFFSET
1,2
COMMENTS
EXAMPLE
Base-4 digits of 4997: 1,0,3,2,0,1,1, so that 4997 is in the sequence.
MATHEMATICA
a[n_, b_] := Sign[Differences[IntegerDigits[n, b]]]; z = 300;
b = 4; t = Table[a[n, b], {n, 1, 10*z}];
u = Select[Range[z], ! MemberQ[t[[#]], 0] && First[t[[#]]] == 1 &] (* A297128 *)
v = Select[Range[z], ! MemberQ[t[[#]], 0] && First[t[[#]]] == -1 &] (* A297129 *)
Complement[Range[z], Union[u, v]] (* A297130 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Jan 14 2018
STATUS
approved