We divide 316643 by 7
The aim is to understand the frequency of 7 in 316643.

On to step 1:
If we divide 3 by 7, we get 0 and 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.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 7

Moving on to step 2:
When dividing 31 by 7, we get 4 with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 3 after subtracting 28 from 31.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 7

Going ahead to step 3:
If we divide 36 by 7, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 45.0
If we take 35 away from 36, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 7

Going ahead to step 4:
7 can be fit into 16 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 452.0
Subtracting 14 from 16 leaves us with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 7

Step 5:
If we divide 24 by 7, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 4523.0
Deduct 21 from 24 and we're left with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 7

Going ahead to step 6:
The number 7 fits into 33 4 times, leaving a remainder of 5.
The next digit of our result is 4. 
Result so far: 45234.0
Subtract 28 from 33 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.

Step 7:
7 goes into 50 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 45234.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.

Going ahead to step 8:
7 goes into 10 1 times with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 45234.71
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.

Step 9:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 45234.714
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.

Moving on to step 10:
If we divide 20 by 7, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 45234.7142
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 11:
7 goes into 60 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 45234.71428
Deduct 56 from 60 and we're left 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.

Let's proceed to step 12:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 45234.714285
Deduct 35 from 40 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.

Let's proceed to step 13:
50 divided by 7 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 45234.7142857
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.

On to step 14:
7 goes into 10 1 times with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 45234.71428571
If we take 7 away from 10, we end up 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 45234.71428571 with a balance of 3e-09.