We look at the division of 29688 by 31 
The aim is to understand the frequency of 31 in 29688.

Moving on to step 1:
The number 31 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 31

Going ahead to step 2:
If we divide 29 by 31, we get 0 and a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 29, we get 29.
Take the next digit (6) from the dividend and append it to 29, then repeat: 296 / 31

On to step 3:
When dividing 296 by 31, we get 9 with a remainder of 17.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 17 after subtracting 279 from 296.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 31

Advancing to step 4:
If we divide 178 by 31, we get 5 and a remainder of 23.
The next digit of our result is 5. 
Result so far: 95.0
The remainder is 23 after subtracting 155 from 178.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Let's proceed to step 5:
31 can be fit into 238 7 times, resulting in a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 957.0
If we take 217 away from 238, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 6:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The next digit of our result is 6. 
Result so far: 957.6
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 7:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 957.67
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 8:
The number 31 fits into 230 7 times, leaving a remainder of 13.
The next digit of our result is 7. 
Result so far: 957.677
Deduct 217 from 230 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 957.677, and the remainder is 0.0013.