We're dividing 581495 by 7 
The aim is to understand the frequency of 7 in 581495.

Advancing to step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 7

Moving on to step 2:
When dividing 58 by 7, we get 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 56 from 58, we get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 7

Let's proceed to step 3:
If we divide 21 by 7, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 83.0
Subtract 21 from 21 to get 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 7

Let's proceed to step 4:
7 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 830.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 7

Let's proceed to step 5:
The number 7 fits into 49 7 times, leaving a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 8307.0
Deduct 49 from 49 and we're left with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 7

Going ahead to step 6:
The number 7 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 83070.0
Deduct 0 from 5 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.

Step 7:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 83070.7
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 8:
The number 7 fits into 10 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 83070.71
The remainder is 3 after subtracting 7 from 10.
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 9:
7 goes into 30 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 83070.714
Subtract 28 from 30 to 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.

Step 10:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 83070.7142
The remainder is 6 after subtracting 14 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 11:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 83070.71428
The remainder is 4 after subtracting 56 from 60.
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 12:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 83070.714285
If we take 35 away from 40, we end up 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.

Going ahead to step 13:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 83070.7142857
If we subtract 49 from 50, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 14:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 83070.71428571
Subtracting 7 from 10 leaves us 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.

In conclusion, the division gives 83070.71428571 with a balance of 3e-09.