We look at the division of 40872597 by 814 
The aim is to understand the frequency of 814 in 40872597.

Let's proceed to step 1:
4 divided by 814 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 814

Step 2:
When dividing 40 by 814, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (8) from the dividend, attach it to 40 and continue: 408 / 814

Advancing to step 3:
814 can be fit into 408 0 times, resulting in a remainder of 408.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 408, we get 408.
Append the next digit (7) from the dividend to 408 and continue with: 4087 / 814

Going ahead to step 4:
If we divide 4087 by 814, we get 5 and a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 4070 from 4087, we get 17.
Include the next digit (2) from the dividend after 17, then repeat: 172 / 814

Going ahead to step 5:
814 can be fit into 172 0 times, resulting in a remainder of 172.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Deduct 0 from 172 and we're left with 172.
Bring next digit (5) of the dividend behind the 172 and repeat the process: 1725 / 814

Step 6:
814 can be fit into 1725 2 times, resulting in a remainder of 97.
Write down 2 as next digit of the result. 
Result so far: 502.0
Subtract 1628 from 1725 to get 97.
Grab the next digit (9) from the dividend, add it to 97, then carry on: 979 / 814

Moving on to step 7:
979 divided by 814 is 1 with a remainder of 165.
The number 1 becomes the next digit in our result. 
Result so far: 5021.0
The remainder is 165 after subtracting 814 from 979.
Include the next digit (7) from the dividend after 165, then repeat: 1657 / 814

Let's proceed to step 8:
1657 divided by 814 is 2 with a remainder of 29.
Use 2 as the next digit of our solution. 
Result so far: 50212.0
If we subtract 1628 from 1657, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
The number 814 fits into 290 0 times, leaving a remainder of 290.
The number 0 becomes the next digit in our result. 
Result so far: 50212.0
If we subtract 0 from 290, we get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 10:
When dividing 2900 by 814, we get 3 with a remainder of 458.
Put 3 as the next digit of the answer. 
Result so far: 50212.03
Subtract 2442 from 2900 to get 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Going ahead to step 11:
The number 814 fits into 4580 5 times, leaving a remainder of 510.
The number 5 becomes the next digit in our result. 
Result so far: 50212.035
If we take 4070 away from 4580, we end up with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Advancing to step 12:
The number 814 fits into 5100 6 times, leaving a remainder of 216.
Put 6 as the next digit of the answer. 
Result so far: 50212.0356
Deduct 4884 from 5100 and we're left with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 13:
If we divide 2160 by 814, we get 2 and a remainder of 532.
The number 2 becomes the next digit in our result. 
Result so far: 50212.03562
Subtract 1628 from 2160 to get 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Let's proceed to step 14:
When dividing 5320 by 814, we get 6 with a remainder of 436.
Put 6 as the next digit of the answer. 
Result so far: 50212.035626
Subtracting 4884 from 5320 leaves us with 436.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Let's proceed to step 15:
The number 814 fits into 4360 5 times, leaving a remainder of 290.
The next digit of our result is 5. 
Result so far: 50212.0356265
If we take 4070 away from 4360, we end up with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Going ahead to step 16:
814 can be fit into 2900 3 times, resulting in a remainder of 458.
Write down 3 as next digit of the result. 
Result so far: 50212.03562653
Subtract 2442 from 2900 to get 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

The quotient of the division is 50212.03562653, and the remainder is 4.58e-07.