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”).
%I #7 Mar 04 2015 11:46:24
%S 19,68,117,133,166,215,264,313,362,411,460,476,509,558,607,656,705,
%T 754,803,819,852,901,931,999,1048,1097,1146,1162,1195,1244,1293,1342,
%U 1391,1440,1489,1505,1538,1587,1636,1685,1734,1783
%N Numbers n such that string 2,5 occurs in the base 7 representation of n but not of n-1.
%t Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[ n,7],2,1],{2,5}],1,0],{n,2000}],2,1],{0,1}]]+1 (* _Harvey P. Dale_, Mar 04 2015 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_