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

A043899
Numbers k such that 0 and 4 occur juxtaposed in the base-6 representation of k but not of k+1.
0
24, 40, 60, 76, 96, 112, 132, 149, 168, 184, 204, 220, 245, 256, 276, 292, 312, 328, 348, 365, 384, 400, 420, 436, 461, 472, 492, 508, 528, 544, 564, 581, 600, 616, 636, 652, 677, 688, 708, 724, 744, 760, 780, 797, 816, 832, 852
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {0, 4}]>0||SequenceCount[ IntegerDigits[ n, 6], {4, 0}]>0, 1, 0], {n, 900}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Sep 22 2024 *)
CROSSREFS
Cf. A007092.
Sequence in context: A340746 A043119 A039296 * A269452 A294029 A366675
KEYWORD
nonn,base
STATUS
approved