We divide 31975916 by 871
The aim is to understand the frequency of 871 in 31975916.

Moving on to step 1:
3 divided by 871 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 871

Moving on to step 2:
31 divided by 871 is 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 871

Let's proceed to step 3:
If we divide 319 by 871, we get 0 and a remainder of 319.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 319 after subtracting 0 from 319.
Bring next digit (7) of the dividend behind the 319 and repeat the process: 3197 / 871

Going ahead to step 4:
When dividing 3197 by 871, we get 3 with a remainder of 584.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 2613 from 3197, we get 584.
Bring next digit (5) of the dividend behind the 584 and repeat the process: 5845 / 871

Let's proceed to step 5:
If we divide 5845 by 871, we get 6 and a remainder of 619.
Write down 6 as next digit of the result. 
Result so far: 36.0
Subtracting 5226 from 5845 leaves us with 619.
Append the next digit (9) from the dividend to 619 and continue with: 6199 / 871

Going ahead to step 6:
871 can be fit into 6199 7 times, resulting in a remainder of 102.
Put 7 as the next digit of the answer. 
Result so far: 367.0
Deduct 6097 from 6199 and we're left with 102.
Include the next digit (1) from the dividend after 102, then repeat: 1021 / 871

Let's proceed to step 7:
If we divide 1021 by 871, we get 1 and a remainder of 150.
Write down 1 as next digit of the result. 
Result so far: 3671.0
If we take 871 away from 1021, we end up with 150.
Bring next digit (6) of the dividend behind the 150 and repeat the process: 1506 / 871

Advancing to step 8:
1506 divided by 871 is 1 with a remainder of 635.
Use 1 as the next digit of our solution. 
Result so far: 36711.0
Subtract 871 from 1506 to get 635.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6350, and continue the process.

On to step 9:
If we divide 6350 by 871, we get 7 and a remainder of 253.
The number 7 becomes the next digit in our result. 
Result so far: 36711.7
The remainder is 253 after subtracting 6097 from 6350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

On to step 10:
2530 divided by 871 is 2 with a remainder of 788.
Use 2 as the next digit of our solution. 
Result so far: 36711.72
Subtracting 1742 from 2530 leaves us with 788.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7880, and continue the process.

Advancing to step 11:
The number 871 fits into 7880 9 times, leaving a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 36711.729
Subtracting 7839 from 7880 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 12:
If we divide 410 by 871, we get 0 and a remainder of 410.
Write down 0 as next digit of the result. 
Result so far: 36711.729
Subtracting 0 from 410 leaves us with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Going ahead to step 13:
When dividing 4100 by 871, we get 4 with a remainder of 616.
The number 4 becomes the next digit in our result. 
Result so far: 36711.72904
Subtracting 3484 from 4100 leaves us with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Going ahead to step 14:
871 goes into 6160 7 times with a remainder of 63.
Write down 7 as next digit of the result. 
Result so far: 36711.729047
Subtract 6097 from 6160 to get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Going ahead to step 15:
871 goes into 630 0 times with a remainder of 630.
The next digit of our result is 0. 
Result so far: 36711.729047
Deduct 0 from 630 and we're left with 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Step 16:
The number 871 fits into 6300 7 times, leaving a remainder of 203.
Write down 7 as next digit of the result. 
Result so far: 36711.72904707
If we subtract 6097 from 6300, we get 203.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2030, and continue the process.

After the division, we end up with 36711.72904707 and a remainder of 2.03e-07.