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

A044247
Numbers n such that string 7,4 occurs in the base 8 representation of n but not of n-1.
1
60, 124, 188, 252, 316, 380, 444, 480, 508, 572, 636, 700, 764, 828, 892, 956, 992, 1020, 1084, 1148, 1212, 1276, 1340, 1404, 1468, 1504, 1532, 1596, 1660, 1724, 1788, 1852, 1916, 1980, 2016, 2044, 2108, 2172, 2236, 2300, 2364, 2428, 2492, 2528, 2556
OFFSET
1,1
LINKS
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[n, 8], 2, 1], {7, 4}], 1, 0], {n, 4000}], 2, 1], {0, 1}]] + 1 (* Vincenzo Librandi, Aug 18 2015 *)
CROSSREFS
Sequence in context: A049058 A056501 A056491 * A044628 A181190 A246474
KEYWORD
nonn,base
STATUS
approved