|
|
A043097
|
|
Numbers k such that 0 and 1 occur juxtaposed in the base-3 representation of k but not of k-1.
|
|
0
|
|
|
3, 9, 19, 21, 27, 46, 48, 55, 57, 63, 73, 75, 81, 127, 129, 136, 138, 144, 154, 156, 163, 165, 171, 181, 183, 189, 208, 210, 217, 219, 225, 235, 237, 243, 370, 372, 379, 381, 387, 397, 399, 406, 408, 414, 424, 426, 432, 451, 453
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {0, 1}]>0 || SequenceCount[IntegerDigits[n, 3], {1, 0}]>0, 1, 0], {n, 500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Mar 29 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|