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”).

A043125
Numbers k such that 2 and 3 occur juxtaposed in the base-6 representation of k but not of k-1.
0
15, 20, 51, 56, 87, 90, 120, 128, 159, 164, 195, 200, 231, 236, 267, 272, 303, 306, 336, 344, 375, 380, 411, 416, 447, 452, 483, 488, 519, 522, 540, 591, 596, 627, 632, 663, 668, 699, 704, 720, 768, 776, 807, 812, 843, 848, 879
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {2, 3}]>0 || SequenceCount[ IntegerDigits[n, 6], {3, 2}]>0, 1, 0], {n, 900}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Feb 25 2023 *)
CROSSREFS
Cf. A007092.
Sequence in context: A105506 A120625 A038352 * A043905 A072310 A166645
KEYWORD
nonn,base
STATUS
approved