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

A044327
Numbers n such that string 8,4 occurs in the base 9 representation of n but not of n-1.
0
76, 157, 238, 319, 400, 481, 562, 643, 684, 724, 805, 886, 967, 1048, 1129, 1210, 1291, 1372, 1413, 1453, 1534, 1615, 1696, 1777, 1858, 1939, 2020, 2101, 2142, 2182, 2263, 2344, 2425, 2506, 2587, 2668, 2749, 2830, 2871
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[n, 9], 2, 1], {8, 4}], 1, 0], {n, 3000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Mar 11 2015 *)
CROSSREFS
Sequence in context: A004924 A004944 A063359 * A044708 A099944 A329542
KEYWORD
nonn,base
STATUS
approved