login
A044243
Numbers n such that string 7,0 occurs in the base 8 representation of n but not of n-1.
0
56, 120, 184, 248, 312, 376, 440, 448, 504, 568, 632, 696, 760, 824, 888, 952, 960, 1016, 1080, 1144, 1208, 1272, 1336, 1400, 1464, 1472, 1528, 1592, 1656, 1720, 1784, 1848, 1912, 1976, 1984, 2040, 2104, 2168, 2232, 2296, 2360
OFFSET
1,1
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {7, 0}]>0, 1, 0], {n, 2500}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Sep 28 2015 *)
CROSSREFS
Sequence in context: A054891 A118161 A047779 * A044624 A157330 A038849
KEYWORD
nonn,base
STATUS
approved