login
A044624
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, 455, 504, 568, 632, 696, 760, 824, 888, 952, 967, 1016, 1080, 1144, 1208, 1272, 1336, 1400, 1464, 1479, 1528, 1592, 1656, 1720, 1784, 1848, 1912, 1976, 1991, 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}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Jun 01 2016 *)
CROSSREFS
Sequence in context: A118161 A047779 A044243 * A157330 A038849 A003781
KEYWORD
nonn,base
STATUS
approved