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

Moving on to step 1:
1 divided by 77 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 77

Moving on to step 2:
When dividing 14 by 77, we get 0 with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 14 to get 14.
Bring next digit (2) of the dividend behind the 14 and repeat the process: 142 / 77

Moving on to step 3:
77 goes into 142 1 times with a remainder of 65.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 77 from 142 leaves us with 65.
Include the next digit (1) from the dividend after 65, then repeat: 651 / 77

Going ahead to step 4:
77 goes into 651 8 times with a remainder of 35.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Subtract 616 from 651 to get 35.
Take the next digit (5) from the dividend and append it to 35, then repeat: 355 / 77

Step 5:
If we divide 355 by 77, we get 4 and a remainder of 47.
Write down 4 as next digit of the result. 
Result so far: 184.0
Subtracting 308 from 355 leaves us with 47.
Take the next digit (9) from the dividend and append it to 47, then repeat: 479 / 77

Going ahead to step 6:
If we divide 479 by 77, we get 6 and a remainder of 17.
The number 6 becomes the next digit in our result. 
Result so far: 1846.0
If we take 462 away from 479, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
170 divided by 77 is 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 1846.2
If we subtract 154 from 170, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
When dividing 160 by 77, we get 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 1846.22
The remainder is 6 after subtracting 154 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 1846.22, and the remainder is 0.006.