OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
93 = 233_6 is in the sequence as it has distinct run lengths of same digits (1, 2). - David A. Corneth, Jan 04 2021
MAPLE
filter:= proc(n) local L, R, s, t, i;
L:= convert(n, base, 6);
R:= NULL; t:= 1; s:= L[1];
for i from 2 to nops(L) do
if L[i] <> s then
R:= R, t; t:= 1; s:= L[i]
else
t:= t+1
fi
od;
R:= R, t;
nops([R]) = nops({R})
end proc:
select(filter, [$1..1000]); # Robert Israel, Jan 17 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved