login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A044634
Numbers n such that string 0,2 occurs in the base 9 representation of n but not of n+1.
0
83, 164, 245, 326, 407, 488, 569, 650, 731, 755, 812, 893, 974, 1055, 1136, 1217, 1298, 1379, 1460, 1484, 1541, 1622, 1703, 1784, 1865, 1946, 2027, 2108, 2189, 2213, 2270, 2351, 2432, 2513, 2594, 2675, 2756, 2837, 2918
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 2}]>0, 1, 0], {n, 3000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 18 2017 *)
CROSSREFS
Sequence in context: A140543 A142118 A044253 * A160849 A277807 A246874
KEYWORD
nonn,base
STATUS
approved