login
A044305
Numbers n such that string 6,0 occurs in the base 9 representation of n but not of n-1.
1
54, 135, 216, 297, 378, 459, 486, 540, 621, 702, 783, 864, 945, 1026, 1107, 1188, 1215, 1269, 1350, 1431, 1512, 1593, 1674, 1755, 1836, 1917, 1944, 1998, 2079, 2160, 2241, 2322, 2403, 2484, 2565, 2646, 2673, 2727, 2808
OFFSET
1,1
LINKS
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {6, 0}]>0, 1, 0], {n, 3000}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Jun 07 2015 *)
CROSSREFS
Sequence in context: A389096 A255021 A184067 * A044686 A108780 A057396
KEYWORD
nonn,base
STATUS
approved