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

A043891
Numbers k such that 1 and 3 occur juxtaposed in the base-5 representation of k but not of k+1.
0
8, 16, 33, 44, 58, 66, 84, 91, 108, 116, 133, 141, 158, 169, 183, 191, 224, 233, 241, 258, 266, 283, 294, 308, 316, 334, 341, 358, 366, 383, 391, 424, 433, 441, 459, 466, 483, 491, 508, 516, 533, 544, 558, 566, 584, 591, 608, 616
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {1, 3}]>0||SequenceCount[ IntegerDigits[n, 5], {3, 1}]>0, 1, 0], {n, 650}], {1, 0}][[All, 1]] (* Harvey P. Dale, Jul 31 2022 *)
CROSSREFS
Cf. A007091.
Sequence in context: A291124 A239280 A043111 * A331930 A072578 A271994
KEYWORD
nonn,base
STATUS
approved