login
A044192
Numbers n such that string 0,5 occurs in the base 8 representation of n but not of n-1.
1
69, 133, 197, 261, 325, 389, 453, 517, 552, 581, 645, 709, 773, 837, 901, 965, 1029, 1064, 1093, 1157, 1221, 1285, 1349, 1413, 1477, 1541, 1576, 1605, 1669, 1733, 1797, 1861, 1925, 1989, 2053, 2088, 2117, 2181, 2245, 2309, 2373, 2437, 2501, 2565, 2600, 2629
OFFSET
1,1
MATHEMATICA
f[n_] := Length[StringPosition[ToString[FromDigits[IntegerDigits[n, 8]]], "05", 1]]; a = Select[Table[n, {n, 10000}], f[#] > 0 && f[# - 1] == 0 &] (* Vladimir Joseph Stephan Orlovsky, Jul 16 2011 *)
CROSSREFS
Cf. A044573.
Sequence in context: A039541 A363905 A393598 * A044573 A063355 A044320
KEYWORD
nonn,base
STATUS
approved