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

A043893
Numbers k such that 2 and 3 occur juxtaposed in the base-5 representation of k but not of k+1.
0
13, 17, 38, 42, 63, 69, 89, 92, 113, 117, 138, 142, 163, 167, 188, 194, 214, 217, 238, 242, 263, 267, 288, 292, 313, 319, 349, 363, 367, 388, 392, 413, 417, 449, 464, 467, 488, 492, 513, 517, 538, 542, 563, 569, 589, 592, 613
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {2, 3}]>0 || SequenceCount[IntegerDigits[n, 5], {3, 2}]>0, 1, 0], {n, 700}], {1, 0}] [[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 20 2021 *)
CROSSREFS
Cf. A007091.
Sequence in context: A039290 A045267 A043113 * A279392 A239901 A068497
KEYWORD
nonn,base
STATUS
approved