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

A044264
Numbers n such that string 1,4 occurs in the base 9 representation of n but not of n-1.
0
13, 94, 117, 175, 256, 337, 418, 499, 580, 661, 742, 823, 846, 904, 985, 1053, 1147, 1228, 1309, 1390, 1471, 1552, 1575, 1633, 1714, 1795, 1876, 1957, 2038, 2119, 2200, 2281, 2304, 2362, 2443, 2524, 2605, 2686, 2767, 2848
OFFSET
1,1
MATHEMATICA
With[{c={1, 4}}, Select[Range[3000], MemberQ[Partition[IntegerDigits[ #, 9], 2, 1], c]&& !MemberQ[Partition[IntegerDigits[#-1, 9], 2, 1], c]&]] (* Harvey P. Dale, Oct 31 2011 *)
CROSSREFS
Sequence in context: A038742 A282709 A005414 * A044645 A153703 A222503
KEYWORD
nonn,base
STATUS
approved