We look at the division of 40920448 by 799 
The aim is to understand the frequency of 799 in 40920448.

On to step 1:
When dividing 4 by 799, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 799

Moving on to step 2:
799 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 799

On to step 3:
409 divided by 799 is 0 with a remainder of 409.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 409, we end up with 409.
Take the next digit (2) from the dividend and append it to 409, then repeat: 4092 / 799

Advancing to step 4:
The number 799 fits into 4092 5 times, leaving a remainder of 97.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 3995 from 4092, we get 97.
Bring next digit (0) of the dividend behind the 97 and repeat the process: 970 / 799

On to step 5:
If we divide 970 by 799, we get 1 and a remainder of 171.
Use 1 as the next digit of our solution. 
Result so far: 51.0
If we take 799 away from 970, we end up with 171.
Include the next digit (4) from the dividend after 171, then repeat: 1714 / 799

Step 6:
If we divide 1714 by 799, we get 2 and a remainder of 116.
The number 2 becomes the next digit in our result. 
Result so far: 512.0
Subtract 1598 from 1714 to get 116.
Fetch the next digit (4) from the dividend, attach it to 116 and continue: 1164 / 799

On to step 7:
799 goes into 1164 1 times with a remainder of 365.
The number 1 becomes the next digit in our result. 
Result so far: 5121.0
The remainder is 365 after subtracting 799 from 1164.
Grab the next digit (8) from the dividend, add it to 365, then carry on: 3658 / 799

Let's proceed to step 8:
If we divide 3658 by 799, we get 4 and a remainder of 462.
Use 4 as the next digit of our solution. 
Result so far: 51214.0
Subtracting 3196 from 3658 leaves us with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Let's proceed to step 9:
When dividing 4620 by 799, we get 5 with a remainder of 625.
Record the quotient 5 as the next digit in the result. 
Result so far: 51214.5
Subtracting 3995 from 4620 leaves us with 625.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

On to step 10:
799 goes into 6250 7 times with a remainder of 657.
The next digit of our result is 7. 
Result so far: 51214.57
Deduct 5593 from 6250 and we're left with 657.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6570, and continue the process.

Advancing to step 11:
6570 divided by 799 is 8 with a remainder of 178.
Put 8 as the next digit of the answer. 
Result so far: 51214.578
The remainder is 178 after subtracting 6392 from 6570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Advancing to step 12:
1780 divided by 799 is 2 with a remainder of 182.
Record the quotient 2 as the next digit in the result. 
Result so far: 51214.5782
Subtract 1598 from 1780 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Advancing to step 13:
799 goes into 1820 2 times with a remainder of 222.
Put 2 as the next digit of the answer. 
Result so far: 51214.57822
If we subtract 1598 from 1820, we get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

The quotient of the division is 51214.57822, and the remainder is 0.000222.