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

A044692
Numbers n such that string 6,6 occurs in the base 9 representation of n but not of n+1.
0
60, 141, 222, 303, 384, 465, 548, 627, 708, 789, 870, 951, 1032, 1113, 1194, 1277, 1356, 1437, 1518, 1599, 1680, 1761, 1842, 1923, 2006, 2085, 2166, 2247, 2328, 2409, 2490, 2571, 2652, 2735, 2814, 2895, 2976, 3057, 3138
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {6, 6}]>0, 1, 0], {n, 3500}], {1, 0}][[All, 1]] (* Harvey P. Dale, Aug 12 2022 *)
CROSSREFS
Sequence in context: A221990 A043478 A044311 * A211332 A039497 A218243
KEYWORD
nonn,base
STATUS
approved