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

A044001
Numbers k such that 0 and 6 occur juxtaposed in the base-10 representation of k but not of k+1.
0
60, 106, 160, 206, 260, 306, 360, 406, 460, 506, 560, 609, 660, 706, 760, 806, 860, 906, 960, 1006, 1069, 1106, 1160, 1206, 1260, 1306, 1360, 1406, 1460, 1506, 1560, 1609, 1660, 1706, 1760, 1806, 1860, 1906, 1960, 2006, 2069
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {0, 6}]>0 || SequenceCount[ IntegerDigits[n], {6, 0}]>0, 1, 0], {n, 2100}], {1, 0}][[All, 1]] (* Harvey P. Dale, Jun 14 2022 *)
CROSSREFS
Sequence in context: A272515 A043221 A039398 * A258700 A008887 A217738
KEYWORD
nonn,base
STATUS
approved