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

A044223
Numbers n such that string 4,4 occurs in the base 8 representation of n but not of n-1.
1
36, 100, 164, 228, 288, 356, 420, 484, 548, 612, 676, 740, 800, 868, 932, 996, 1060, 1124, 1188, 1252, 1312, 1380, 1444, 1508, 1572, 1636, 1700, 1764, 1824, 1892, 1956, 2020, 2084, 2148, 2212, 2276, 2304, 2404, 2468, 2532
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {4, 4}] && !MemberQ[Partition[IntegerDigits[#-1, 8], 2, 1], {4, 4}]&] (* Harvey P. Dale, Oct 12 2012 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {4, 4}]>0, 1, 0], {n, 2600}], {0, 1}][[All, 2]] (* Harvey P. Dale, May 10 2022 *)
CROSSREFS
Sequence in context: A348826 A062703 A043438 * A044604 A375144 A340017
KEYWORD
nonn,base
STATUS
approved