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

A044013
Numbers k such that 2 and 3 occur juxtaposed in the base-10 representation of k but not of k+1.
0
23, 32, 123, 132, 223, 239, 329, 332, 423, 432, 523, 532, 623, 632, 723, 732, 823, 832, 923, 932, 1023, 1032, 1123, 1132, 1223, 1239, 1329, 1332, 1423, 1432, 1523, 1532, 1623, 1632, 1723, 1732, 1823, 1832, 1923, 1932, 2023
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 3}]>0 || SequenceCount[ IntegerDigits[n], {3, 2}]>0, 1, 0], {n, 2500}], {1, 0}][[All, 1]] (* Harvey P. Dale, Aug 26 2021 *)
CROSSREFS
Sequence in context: A107282 A039410 A043233 * A081991 A118298 A209247
KEYWORD
nonn,base
STATUS
approved