login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A044056
Numbers n such that string 1,1 occurs in the base 3 representation of n but not of n-1.
0
4, 12, 22, 31, 36, 49, 58, 66, 76, 85, 93, 103, 108, 139, 147, 157, 166, 174, 184, 193, 198, 211, 220, 228, 238, 247, 255, 265, 274, 279, 292, 301, 309, 319, 324, 409, 417, 427, 436, 441, 454, 463, 471, 481, 490, 498, 508, 517
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 3], {1, 1}]>0, 1, 0], {n, 600}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Apr 12 2024 *)
CROSSREFS
Sequence in context: A057309 A063246 A301269 * A024993 A301099 A301131
KEYWORD
nonn,base
STATUS
approved