Let's divide 500311 by 80
The aim is to understand the frequency of 80 in 500311.

Going ahead to step 1:
The number 80 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 80

Advancing to step 2:
If we divide 50 by 80, we get 0 and a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Fetch the next digit (0) from the dividend, attach it to 50 and continue: 500 / 80

Advancing to step 3:
When dividing 500 by 80, we get 6 with a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we take 480 away from 500, we end up with 20.
Include the next digit (3) from the dividend after 20, then repeat: 203 / 80

Going ahead to step 4:
203 divided by 80 is 2 with a remainder of 43.
Write down 2 as next digit of the result. 
Result so far: 62.0
The remainder is 43 after subtracting 160 from 203.
Include the next digit (1) from the dividend after 43, then repeat: 431 / 80

Step 5:
If we divide 431 by 80, we get 5 and a remainder of 31.
The number 5 becomes the next digit in our result. 
Result so far: 625.0
Deduct 400 from 431 and we're left with 31.
Grab the next digit (1) from the dividend, add it to 31, then carry on: 311 / 80

Moving on to step 6:
The number 80 fits into 311 3 times, leaving a remainder of 71.
Record the quotient 3 as the next digit in the result. 
Result so far: 6253.0
The remainder is 71 after subtracting 240 from 311.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Step 7:
When dividing 710 by 80, we get 8 with a remainder of 70.
Put 8 as the next digit of the answer. 
Result so far: 6253.8
The remainder is 70 after subtracting 640 from 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 8:
The number 80 fits into 700 8 times, leaving a remainder of 60.
Use 8 as the next digit of our solution. 
Result so far: 6253.88
Deduct 640 from 700 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

The quotient of the division is 6253.88, and the remainder is 0.06.