OFFSET
1,2
COMMENTS
It seems likely that there are no further terms.
EXAMPLE
10 is 1010 in base 2 and 101 in base 3; no two of the same digit are next to one another and so 10 is a term.
Similarly 21 is 10101 in base 2 and 210 in base 3 so it is also a term.
PROG
(PARI) isokd(d) = {dd = vector(#d-1, k, abs(d[k+1]-d[k])); if (#dd, vecmin(dd), 1); }
isok(n) = isokd(binary(n)) && isokd(digits(n, 3)); \\ Michel Marcus, Oct 14 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robin Powell, Oct 13 2015
STATUS
approved