We're dividing 631478 by 77 
The aim is to understand the frequency of 77 in 631478.

On to step 1:
The number 77 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 77

Step 2:
The number 77 fits into 63 0 times, leaving a remainder of 63.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 63 to get 63.
Fetch the next digit (1) from the dividend, attach it to 63 and continue: 631 / 77

Going ahead to step 3:
631 divided by 77 is 8 with a remainder of 15.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtract 616 from 631 to get 15.
Append the next digit (4) from the dividend to 15 and continue with: 154 / 77

Step 4:
If we divide 154 by 77, we get 2 and a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 82.0
Subtracting 154 from 154 leaves us with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 77

Step 5:
If we divide 7 by 77, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 820.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 77

Going ahead to step 6:
When dividing 78 by 77, we get 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 8201.0
The remainder is 1 after subtracting 77 from 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
77 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 8201.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
100 divided by 77 is 1 with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 8201.01
If we take 77 away from 100, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 9:
When dividing 230 by 77, we get 2 with a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 8201.012
Subtracting 154 from 230 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Let's proceed to step 10:
760 divided by 77 is 9 with a remainder of 67.
The next digit of our result is 9. 
Result so far: 8201.0129
Subtracting 693 from 760 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Advancing to step 11:
670 divided by 77 is 8 with a remainder of 54.
The next digit of our result is 8. 
Result so far: 8201.01298
The remainder is 54 after subtracting 616 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 12:
77 goes into 540 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 8201.012987
Subtracting 539 from 540 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
If we divide 10 by 77, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 8201.012987
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
When dividing 100 by 77, we get 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 8201.01298701
The remainder is 23 after subtracting 77 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final outcome is 8201.01298701, with a leftover of 2.3e-08.