Let's divide 5380772 by 312
The aim is to understand the frequency of 312 in 5380772.

Going ahead to step 1:
If we divide 5 by 312, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 312

Going ahead to step 2:
53 divided by 312 is 0 with a remainder of 53.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 53 and we're left with 53.
Append the next digit (8) from the dividend to 53 and continue with: 538 / 312

Going ahead to step 3:
If we divide 538 by 312, we get 1 and a remainder of 226.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 312 away from 538, we end up with 226.
Append the next digit (0) from the dividend to 226 and continue with: 2260 / 312

On to step 4:
The number 312 fits into 2260 7 times, leaving a remainder of 76.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
If we take 2184 away from 2260, we end up with 76.
Grab the next digit (7) from the dividend, add it to 76, then carry on: 767 / 312

Going ahead to step 5:
312 can be fit into 767 2 times, resulting in a remainder of 143.
The next digit of our result is 2. 
Result so far: 172.0
If we take 624 away from 767, we end up with 143.
Append the next digit (7) from the dividend to 143 and continue with: 1437 / 312

Going ahead to step 6:
The number 312 fits into 1437 4 times, leaving a remainder of 189.
Use 4 as the next digit of our solution. 
Result so far: 1724.0
The remainder is 189 after subtracting 1248 from 1437.
Append the next digit (2) from the dividend to 189 and continue with: 1892 / 312

Moving on to step 7:
The number 312 fits into 1892 6 times, leaving a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 17246.0
Subtract 1872 from 1892 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
When dividing 200 by 312, we get 0 with a remainder of 200.
Write down 0 as next digit of the result. 
Result so far: 17246.0
If we subtract 0 from 200, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Going ahead to step 9:
312 can be fit into 2000 6 times, resulting in a remainder of 128.
The number 6 becomes the next digit in our result. 
Result so far: 17246.06
Subtract 1872 from 2000 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Let's proceed to step 10:
312 can be fit into 1280 4 times, resulting in a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 17246.064
Deduct 1248 from 1280 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 11:
When dividing 320 by 312, we get 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 17246.0641
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.

Step 12:
312 can be fit into 80 0 times, resulting in a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 17246.0641
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 13:
312 goes into 800 2 times with a remainder of 176.
Put 2 as the next digit of the answer. 
Result so far: 17246.064102
If we take 624 away from 800, we end up with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Going ahead to step 14:
1760 divided by 312 is 5 with a remainder of 200.
Use 5 as the next digit of our solution. 
Result so far: 17246.0641025
The remainder is 200 after subtracting 1560 from 1760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Moving on to step 15:
When dividing 2000 by 312, we get 6 with a remainder of 128.
Put 6 as the next digit of the answer. 
Result so far: 17246.06410256
Subtract 1872 from 2000 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

After the division, we end up with 17246.06410256 and a remainder of 1.28e-07.