We're dividing 40872189 by 918 
The aim is to understand the frequency of 918 in 40872189.

On to step 1:
918 can be fit into 4 0 times, resulting in 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 / 918

Let's proceed to step 2:
If we divide 40 by 918, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (8) from the dividend after 40, then repeat: 408 / 918

On to step 3:
When dividing 408 by 918, we get 0 with a remainder of 408.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 408 and we're left with 408.
Append the next digit (7) from the dividend to 408 and continue with: 4087 / 918

Going ahead to step 4:
When dividing 4087 by 918, we get 4 with a remainder of 415.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 3672 from 4087 and we're left with 415.
Include the next digit (2) from the dividend after 415, then repeat: 4152 / 918

Advancing to step 5:
918 can be fit into 4152 4 times, resulting in a remainder of 480.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
Deduct 3672 from 4152 and we're left with 480.
Include the next digit (1) from the dividend after 480, then repeat: 4801 / 918

Advancing to step 6:
When dividing 4801 by 918, we get 5 with a remainder of 211.
Write down 5 as next digit of the result. 
Result so far: 445.0
Subtract 4590 from 4801 to get 211.
Grab the next digit (8) from the dividend, add it to 211, then carry on: 2118 / 918

Advancing to step 7:
2118 divided by 918 is 2 with a remainder of 282.
The number 2 becomes the next digit in our result. 
Result so far: 4452.0
The remainder is 282 after subtracting 1836 from 2118.
Append the next digit (9) from the dividend to 282 and continue with: 2829 / 918

Let's proceed to step 8:
918 goes into 2829 3 times with a remainder of 75.
Record the quotient 3 as the next digit in the result. 
Result so far: 44523.0
If we subtract 2754 from 2829, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

On to step 9:
The number 918 fits into 750 0 times, leaving a remainder of 750.
Use 0 as the next digit of our solution. 
Result so far: 44523.0
Subtracting 0 from 750 leaves us with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Step 10:
The number 918 fits into 7500 8 times, leaving a remainder of 156.
Write down 8 as next digit of the result. 
Result so far: 44523.08
Subtracting 7344 from 7500 leaves us with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 11:
When dividing 1560 by 918, we get 1 with a remainder of 642.
The next digit of our result is 1. 
Result so far: 44523.081
Subtracting 918 from 1560 leaves us with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Step 12:
918 goes into 6420 6 times with a remainder of 912.
The next digit of our result is 6. 
Result so far: 44523.0816
The remainder is 912 after subtracting 5508 from 6420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9120, and continue the process.

Advancing to step 13:
When dividing 9120 by 918, we get 9 with a remainder of 858.
Put 9 as the next digit of the answer. 
Result so far: 44523.08169
The remainder is 858 after subtracting 8262 from 9120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8580, and continue the process.

Advancing to step 14:
918 can be fit into 8580 9 times, resulting in a remainder of 318.
The next digit of our result is 9. 
Result so far: 44523.081699
Subtract 8262 from 8580 to get 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

The quotient of the division is 44523.081699, and the remainder is 3.18e-05.