login
A044434
Numbers n such that string 0,1 occurs in the base 3 representation of n but not of n+1.
0
10, 19, 28, 32, 37, 46, 55, 59, 64, 73, 82, 86, 98, 100, 109, 113, 118, 127, 136, 140, 145, 154, 163, 167, 179, 181, 190, 194, 199, 208, 217, 221, 226, 235, 244, 248, 260, 262, 296, 298, 302, 307, 316, 325, 329, 341, 343, 352, 356
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {0, 1}]>0, 1, 0], {n, 400}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 03 2017 *)
CROSSREFS
Sequence in context: A249648 A260263 A044053 * A098750 A089756 A097153
KEYWORD
nonn,base
STATUS
approved