Let's divide 861790 by 77
The aim is to understand the frequency of 77 in 861790.

On to step 1:
77 can be fit into 8 0 times, resulting in a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 77

On to step 2:
77 can be fit into 86 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 77 from 86 and we're left with 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 77

Let's proceed to step 3:
If we divide 91 by 77, we get 1 and a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we subtract 77 from 91, we get 14.
Bring next digit (7) of the dividend behind the 14 and repeat the process: 147 / 77

Moving on to step 4:
77 can be fit into 147 1 times, resulting in a remainder of 70.
The number 1 becomes the next digit in our result. 
Result so far: 111.0
If we take 77 away from 147, we end up with 70.
Take the next digit (9) from the dividend and append it to 70, then repeat: 709 / 77

On to step 5:
77 goes into 709 9 times with a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 1119.0
If we subtract 693 from 709, we get 16.
Bring next digit (0) of the dividend behind the 16 and repeat the process: 160 / 77

Step 6:
77 goes into 160 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 11192.0
Deduct 154 from 160 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
When dividing 60 by 77, we get 0 with a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 11192.0
If we take 0 away from 60, we end up 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.

Let's proceed to step 8:
When dividing 600 by 77, we get 7 with a remainder of 61.
Write down 7 as next digit of the result. 
Result so far: 11192.07
If we subtract 539 from 600, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 9:
When dividing 610 by 77, we get 7 with a remainder of 71.
Put 7 as the next digit of the answer. 
Result so far: 11192.077
If we take 539 away from 610, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

After the division, we end up with 11192.077 and a remainder of 0.0071.