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

Going ahead to step 1:
The number 7 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 7

Going ahead to step 2:
7 goes into 30 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 4.0
If we subtract 28 from 30, we get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 7

On to step 3:
7 goes into 25 3 times with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 43.0
The remainder is 4 after subtracting 21 from 25.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 7

Let's proceed to step 4:
The number 7 fits into 48 6 times, leaving a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 436.0
Subtracting 42 from 48 leaves us with 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 7

On to step 5:
7 goes into 63 9 times with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 4369.0
Subtracting 63 from 63 leaves us with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 7

Moving on to step 6:
7 can be fit into 9 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 43691.0
If we take 7 away from 9, 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.

Step 7:
7 goes into 20 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 43691.2
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.

Moving on to step 8:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 43691.28
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.

Step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 43691.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.

Let's proceed to step 10:
When dividing 50 by 7, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 43691.2857
Subtract 49 from 50 to 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.

Step 11:
If we divide 10 by 7, we get 1 and a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 43691.28571
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.

Let's proceed to step 12:
7 goes into 30 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 43691.285714
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.

On to step 13:
20 divided by 7 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 43691.2857142
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.

Going ahead to step 14:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 43691.28571428
Subtract 56 from 60 to get 4.
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 outcome is 43691.28571428, with a leftover of 4e-09.