We're dividing 40512049 by 104 
The aim is to understand the frequency of 104 in 40512049.

Going ahead to step 1:
When dividing 4 by 104, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 104

Let's proceed to step 2:
104 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 104

Going ahead to step 3:
If we divide 405 by 104, we get 3 and a remainder of 93.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 93 after subtracting 312 from 405.
Include the next digit (1) from the dividend after 93, then repeat: 931 / 104

Advancing to step 4:
104 goes into 931 8 times with a remainder of 99.
The next digit of our result is 8. 
Result so far: 38.0
Subtracting 832 from 931 leaves us with 99.
Append the next digit (2) from the dividend to 99 and continue with: 992 / 104

Step 5:
104 goes into 992 9 times with a remainder of 56.
Record the quotient 9 as the next digit in the result. 
Result so far: 389.0
If we subtract 936 from 992, we get 56.
Include the next digit (0) from the dividend after 56, then repeat: 560 / 104

On to step 6:
When dividing 560 by 104, we get 5 with a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 3895.0
Subtracting 520 from 560 leaves us with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 104

Moving on to step 7:
The number 104 fits into 404 3 times, leaving a remainder of 92.
The next digit of our result is 3. 
Result so far: 38953.0
The remainder is 92 after subtracting 312 from 404.
Include the next digit (9) from the dividend after 92, then repeat: 929 / 104

On to step 8:
104 goes into 929 8 times with a remainder of 97.
The next digit of our result is 8. 
Result so far: 389538.0
Subtract 832 from 929 to get 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 9:
104 can be fit into 970 9 times, resulting in a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 389538.9
Subtracting 936 from 970 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
The number 104 fits into 340 3 times, leaving a remainder of 28.
Put 3 as the next digit of the answer. 
Result so far: 389538.93
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
When dividing 280 by 104, we get 2 with a remainder of 72.
The next digit of our result is 2. 
Result so far: 389538.932
The remainder is 72 after subtracting 208 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 12:
104 can be fit into 720 6 times, resulting in a remainder of 96.
Use 6 as the next digit of our solution. 
Result so far: 389538.9326
If we take 624 away from 720, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Step 13:
If we divide 960 by 104, we get 9 and a remainder of 24.
The next digit of our result is 9. 
Result so far: 389538.93269
If we subtract 936 from 960, we 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.

Going ahead to step 14:
When dividing 240 by 104, we get 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 389538.932692
If we subtract 208 from 240, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 15:
104 can be fit into 320 3 times, resulting in a remainder of 8.
The next digit of our result is 3. 
Result so far: 389538.9326923
Subtract 312 from 320 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 16:
When dividing 80 by 104, we get 0 with a remainder of 80.
The next digit of our result is 0. 
Result so far: 389538.9326923
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final outcome is 389538.9326923, with a leftover of 8e-08.