We look at the division of 565065 by 7 
The aim is to understand the frequency of 7 in 565065.

Let's proceed to step 1:
5 divided by 7 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 7

Step 2:
56 divided by 7 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 8.0
Deduct 56 from 56 and we're left with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 7

Step 3:
The number 7 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 80.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 7

On to step 4:
7 goes into 50 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 807.0
Deduct 49 from 50 and we're left with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 7

Step 5:
If we divide 16 by 7, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 8072.0
The remainder is 2 after subtracting 14 from 16.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 7

Advancing to step 6:
7 can be fit into 25 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 80723.0
If we take 21 away from 25, we end up 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.

Advancing to step 7:
When dividing 40 by 7, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 80723.5
Subtract 35 from 40 to 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.

On to step 8:
7 goes into 50 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 80723.57
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 9:
When dividing 10 by 7, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 80723.571
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 10:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 80723.5714
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.

On to step 11:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 80723.57142
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.

Let's proceed to step 12:
When dividing 60 by 7, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 80723.571428
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.

On to step 13:
When dividing 40 by 7, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 80723.5714285
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.

Step 14:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 80723.57142857
Deduct 49 from 50 and we're left 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.

The quotient of the division is 80723.57142857, and the remainder is 1e-09.