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

A044235
Numbers n such that string 6,0 occurs in the base 8 representation of n but not of n-1.
0
48, 112, 176, 240, 304, 368, 384, 432, 496, 560, 624, 688, 752, 816, 880, 896, 944, 1008, 1072, 1136, 1200, 1264, 1328, 1392, 1408, 1456, 1520, 1584, 1648, 1712, 1776, 1840, 1904, 1920, 1968, 2032, 2096, 2160, 2224, 2288, 2352
OFFSET
1,1
MATHEMATICA
Select[Range[2400], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {6, 0}] && !MemberQ[Partition[IntegerDigits[#-1, 8], 2, 1], {6, 0}]&] (* Harvey P. Dale, Oct 25 2011 *)
CROSSREFS
Sequence in context: A260287 A187931 A191837 * A044616 A182679 A260759
KEYWORD
nonn,base
STATUS
approved