514365 ÷ 840 
The aim is to understand the frequency of 840 in 514365.

Advancing to step 1:
840 can be fit into 5 0 times, resulting in 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.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 840

Advancing to step 2:
840 can be fit into 51 0 times, resulting in a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Take the next digit (4) from the dividend and append it to 51, then repeat: 514 / 840

Going ahead to step 3:
840 can be fit into 514 0 times, resulting in a remainder of 514.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 514 after subtracting 0 from 514.
Fetch the next digit (3) from the dividend, attach it to 514 and continue: 5143 / 840

Moving on to step 4:
5143 divided by 840 is 6 with a remainder of 103.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we take 5040 away from 5143, we end up with 103.
Take the next digit (6) from the dividend and append it to 103, then repeat: 1036 / 840

Let's proceed to step 5:
840 goes into 1036 1 times with a remainder of 196.
The next digit of our result is 1. 
Result so far: 61.0
If we take 840 away from 1036, we end up with 196.
Append the next digit (5) from the dividend to 196 and continue with: 1965 / 840

Let's proceed to step 6:
840 can be fit into 1965 2 times, resulting in a remainder of 285.
Record the quotient 2 as the next digit in the result. 
Result so far: 612.0
Deduct 1680 from 1965 and we're left with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

Moving on to step 7:
If we divide 2850 by 840, we get 3 and a remainder of 330.
The next digit of our result is 3. 
Result so far: 612.3
Subtracting 2520 from 2850 leaves us with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Moving on to step 8:
The number 840 fits into 3300 3 times, leaving a remainder of 780.
Use 3 as the next digit of our solution. 
Result so far: 612.33
If we subtract 2520 from 3300, we get 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

The quotient of the division is 612.33, and the remainder is 0.78.