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

A044611
Numbers n such that string 5,3 occurs in the base 8 representation of n but not of n+1.
0
43, 107, 171, 235, 299, 351, 363, 427, 491, 555, 619, 683, 747, 811, 863, 875, 939, 1003, 1067, 1131, 1195, 1259, 1323, 1375, 1387, 1451, 1515, 1579, 1643, 1707, 1771, 1835, 1887, 1899, 1963, 2027, 2091, 2155, 2219, 2283, 2347
OFFSET
1,1
MATHEMATICA
s53Q[n_]:=MemberQ[Partition[IntegerDigits[n, 8], 2, 1], {5, 3}] && !MemberQ[ Partition[IntegerDigits[n+1, 8], 2, 1], {5, 3}]; Select[Range[2500], s53Q] (* Harvey P. Dale, Nov 26 2012 *)
CROSSREFS
Sequence in context: A194773 A154506 A044230 * A246931 A142944 A334641
KEYWORD
nonn,base
STATUS
approved