We're dividing 1170628 by 781 
The aim is to understand the frequency of 781 in 1170628.

Going ahead to step 1:
The number 781 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 781

Moving on to step 2:
11 divided by 781 is 0 with a remainder of 11.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 11, we end up with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 781

Step 3:
If we divide 117 by 781, we get 0 and a remainder of 117.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 117 after subtracting 0 from 117.
Bring next digit (0) of the dividend behind the 117 and repeat the process: 1170 / 781

Step 4:
If we divide 1170 by 781, we get 1 and a remainder of 389.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 781 from 1170 leaves us with 389.
Take the next digit (6) from the dividend and append it to 389, then repeat: 3896 / 781

Advancing to step 5:
If we divide 3896 by 781, we get 4 and a remainder of 772.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Deduct 3124 from 3896 and we're left with 772.
Grab the next digit (2) from the dividend, add it to 772, then carry on: 7722 / 781

Advancing to step 6:
781 goes into 7722 9 times with a remainder of 693.
The number 9 becomes the next digit in our result. 
Result so far: 149.0
If we take 7029 away from 7722, we end up with 693.
Take the next digit (8) from the dividend and append it to 693, then repeat: 6938 / 781

Moving on to step 7:
781 goes into 6938 8 times with a remainder of 690.
Write down 8 as next digit of the result. 
Result so far: 1498.0
If we take 6248 away from 6938, we end up with 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

Advancing to step 8:
781 goes into 6900 8 times with a remainder of 652.
Put 8 as the next digit of the answer. 
Result so far: 1498.8
The remainder is 652 after subtracting 6248 from 6900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Step 9:
781 can be fit into 6520 8 times, resulting in a remainder of 272.
Write down 8 as next digit of the result. 
Result so far: 1498.88
Subtracting 6248 from 6520 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

The final outcome is 1498.88, with a leftover of 0.272.