We divide 30971707 by 999
The aim is to understand the frequency of 999 in 30971707.

On to step 1:
999 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 999

Step 2:
If we divide 30 by 999, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 30, we end up with 30.
Bring next digit (9) of the dividend behind the 30 and repeat the process: 309 / 999

Step 3:
If we divide 309 by 999, we get 0 and a remainder of 309.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 309, we end up with 309.
Fetch the next digit (7) from the dividend, attach it to 309 and continue: 3097 / 999

Let's proceed to step 4:
The number 999 fits into 3097 3 times, leaving a remainder of 100.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 2997 away from 3097, we end up with 100.
Append the next digit (1) from the dividend to 100 and continue with: 1001 / 999

Let's proceed to step 5:
If we divide 1001 by 999, we get 1 and a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 31.0
If we take 999 away from 1001, we end up with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 999

Let's proceed to step 6:
The number 999 fits into 27 0 times, leaving a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 310.0
If we subtract 0 from 27, we get 27.
Grab the next digit (0) from the dividend, add it to 27, then carry on: 270 / 999

Step 7:
The number 999 fits into 270 0 times, leaving a remainder of 270.
The number 0 becomes the next digit in our result. 
Result so far: 3100.0
Subtracting 0 from 270 leaves us with 270.
Grab the next digit (7) from the dividend, add it to 270, then carry on: 2707 / 999

Advancing to step 8:
999 goes into 2707 2 times with a remainder of 709.
Write down 2 as next digit of the result. 
Result so far: 31002.0
If we take 1998 away from 2707, we end up with 709.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7090, and continue the process.

Advancing to step 9:
7090 divided by 999 is 7 with a remainder of 97.
Put 7 as the next digit of the answer. 
Result so far: 31002.7
The remainder is 97 after subtracting 6993 from 7090.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Advancing to step 10:
The number 999 fits into 970 0 times, leaving a remainder of 970.
Write down 0 as next digit of the result. 
Result so far: 31002.7
Subtracting 0 from 970 leaves us with 970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9700, and continue the process.

On to step 11:
9700 divided by 999 is 9 with a remainder of 709.
Record the quotient 9 as the next digit in the result. 
Result so far: 31002.709
The remainder is 709 after subtracting 8991 from 9700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7090, and continue the process.

Step 12:
7090 divided by 999 is 7 with a remainder of 97.
Write down 7 as next digit of the result. 
Result so far: 31002.7097
Deduct 6993 from 7090 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

On to step 13:
When dividing 970 by 999, we get 0 with a remainder of 970.
Use 0 as the next digit of our solution. 
Result so far: 31002.7097
Deduct 0 from 970 and we're left with 970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9700, and continue the process.

Going ahead to step 14:
999 can be fit into 9700 9 times, resulting in a remainder of 709.
The next digit of our result is 9. 
Result so far: 31002.709709
Subtract 8991 from 9700 to get 709.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7090, and continue the process.

Advancing to step 15:
If we divide 7090 by 999, we get 7 and a remainder of 97.
Write down 7 as next digit of the result. 
Result so far: 31002.7097097
If we take 6993 away from 7090, we end up with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Advancing to step 16:
The number 999 fits into 970 0 times, leaving a remainder of 970.
Write down 0 as next digit of the result. 
Result so far: 31002.7097097
If we take 0 away from 970, we end up with 970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9700, and continue the process.

The quotient of the division is 31002.7097097, and the remainder is 9.7e-07.