login
A044289
Numbers n such that string 4,2 occurs in the base 9 representation of n but not of n-1.
0
38, 119, 200, 281, 342, 362, 443, 524, 605, 686, 767, 848, 929, 1010, 1071, 1091, 1172, 1253, 1334, 1415, 1496, 1577, 1658, 1739, 1800, 1820, 1901, 1982, 2063, 2144, 2225, 2306, 2387, 2468, 2529, 2549, 2630, 2711, 2792
OFFSET
1,1
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {4, 2}]>0, 1, 0], {n, 3000}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Dec 15 2015 *)
CROSSREFS
Sequence in context: A251229 A282850 A173309 * A044670 A118633 A216896
KEYWORD
nonn,base
STATUS
approved