We look at the division of 40247 by 80 
The aim is to understand the frequency of 80 in 40247.

Step 1:
80 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 80

Going ahead to step 2:
40 divided by 80 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 80

Advancing to step 3:
80 can be fit into 402 5 times, resulting in a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 400 from 402 leaves us with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 80

Advancing to step 4:
80 can be fit into 24 0 times, resulting in a remainder of 24.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtracting 0 from 24 leaves us with 24.
Take the next digit (7) from the dividend and append it to 24, then repeat: 247 / 80

Let's proceed to step 5:
If we divide 247 by 80, we get 3 and a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 503.0
Subtract 240 from 247 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 6:
70 divided by 80 is 0 with a remainder of 70.
Write down 0 as next digit of the result. 
Result so far: 503.0
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 7:
80 goes into 700 8 times with a remainder of 60.
The number 8 becomes the next digit in our result. 
Result so far: 503.08
Subtract 640 from 700 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 8:
600 divided by 80 is 7 with a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 503.087
Deduct 560 from 600 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
When dividing 400 by 80, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 503.0875
If we subtract 400 from 400, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
80 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 503.0875
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
The number 80 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 503.0875
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 503.0875 with a remaining 0.0.