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

Going ahead to step 1:
7 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 7

Moving on to step 2:
7 goes into 35 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 0 after subtracting 35 from 35.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 7

Going ahead to step 3:
If we divide 9 by 7, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 51.0
Subtracting 7 from 9 leaves us with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 7

Let's proceed to step 4:
7 goes into 21 3 times with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 513.0
Deduct 21 from 21 and we're left with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 7

Going ahead to step 5:
When dividing 5 by 7, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 5130.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 7

Let's proceed to step 6:
When dividing 58 by 7, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 51308.0
Subtract 56 from 58 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 7:
If we divide 20 by 7, we get 2 and a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 51308.2
If we subtract 14 from 20, we 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.

Step 8:
7 goes into 60 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 51308.28
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.

Moving on to step 9:
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: 51308.285
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.

Moving on to step 10:
7 goes into 50 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 51308.2857
If we take 49 away from 50, we end up 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 11:
When dividing 10 by 7, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 51308.28571
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 12:
If we divide 30 by 7, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 51308.285714
If we take 28 away from 30, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 13:
When dividing 20 by 7, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 51308.2857142
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 14:
60 divided by 7 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 51308.28571428
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.

The final result is 51308.28571428 with a remainder of 4e-09.