|
|
A044060
|
|
Numbers n such that string 2,2 occurs in the base 3 representation of n but not of n-1.
|
|
0
|
|
|
8, 17, 24, 35, 44, 51, 62, 71, 89, 98, 105, 116, 125, 132, 143, 152, 170, 179, 186, 197, 206, 213, 251, 260, 267, 278, 287, 294, 305, 314, 332, 341, 348, 359, 368, 375, 386, 395, 413, 422, 429, 440, 449, 456, 494, 503, 510, 521
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {2, 2}]>0, 1, 0], {n, 600}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 29 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|