538490 divided by 7 
The aim is to understand the frequency of 7 in 538490.

On to step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 7

Moving on to step 2:
7 can be fit into 53 7 times, resulting in a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 49 away from 53, we end up with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 7

Step 3:
The number 7 fits into 48 6 times, leaving a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 76.0
If we subtract 42 from 48, we get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 7

Going ahead to step 4:
64 divided by 7 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 769.0
The remainder is 1 after subtracting 63 from 64.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 7

Moving on to step 5:
7 goes into 19 2 times with a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 7692.0
Subtract 14 from 19 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 7

Going ahead to step 6:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 76927.0
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.

Let's proceed to step 7:
If we divide 10 by 7, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 76927.1
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.

Advancing to step 8:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 76927.14
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.

Moving on to step 9:
7 goes into 20 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 76927.142
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.

Let's proceed to step 10:
60 divided by 7 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 76927.1428
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 11:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 76927.14285
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.

Going ahead to step 12:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 76927.142857
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.

On to step 13:
If we divide 10 by 7, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 76927.1428571
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.

On to step 14:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 76927.14285714
The remainder is 2 after subtracting 28 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 76927.14285714, with a leftover of 2e-09.