Let's divide 59940 by 7
The aim is to understand the frequency of 7 in 59940.

Moving on to step 1:
7 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 7

Going ahead to step 2:
The number 7 fits into 59 8 times, leaving a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 3 after subtracting 56 from 59.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 7

On to step 3:
When dividing 39 by 7, we get 5 with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 85.0
If we subtract 35 from 39, we get 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 7

Step 4:
When dividing 44 by 7, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 856.0
The remainder is 2 after subtracting 42 from 44.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 7

Going ahead to step 5:
7 goes into 20 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 8562.0
Subtract 14 from 20 to get 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 6:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 8562.8
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
If we divide 40 by 7, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 8562.85
Deduct 35 from 40 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
When dividing 50 by 7, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 8562.857
Subtracting 49 from 50 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.

Step 9:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 8562.8571
Deduct 7 from 10 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 8562.85714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 11:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 8562.857142
If we take 14 away from 20, we end up 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.

Going ahead to step 12:
7 goes into 60 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 8562.8571428
Subtracting 56 from 60 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
When dividing 40 by 7, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 8562.85714285
If we subtract 35 from 40, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 8562.85714285, and the remainder is 5e-09.