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

A044534
Numbers n such that string 2,1 occurs in the base 7 representation of n but not of n+1.
1
15, 64, 111, 113, 162, 211, 260, 309, 358, 407, 454, 456, 505, 554, 603, 652, 701, 783, 797, 799, 848, 897, 946, 995, 1044, 1093, 1140, 1142, 1191, 1240, 1289, 1338, 1387, 1436, 1483, 1485, 1534, 1583, 1632, 1681, 1730, 1779
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2000], MemberQ[Partition[IntegerDigits[#, 7], 2, 1], {2, 1}] && !MemberQ[Partition[IntegerDigits[#+1, 7], 2, 1], {2, 1}]&] (* Harvey P. Dale, Jun 24 2012 *)
CROSSREFS
Sequence in context: A152099 A119496 A044153 * A063483 A320555 A347478
KEYWORD
nonn,base
STATUS
approved