We look at the division of 228967 by 7 
The aim is to understand the frequency of 7 in 228967.

On to step 1:
If we divide 2 by 7, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 7

Advancing to step 2:
22 divided by 7 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 21 from 22 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 7

Going ahead to step 3:
7 can be fit into 18 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
The remainder is 4 after subtracting 14 from 18.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 7

On to step 4:
7 goes into 49 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 327.0
If we take 49 away from 49, we end up with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 7

Let's proceed to step 5:
7 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 3270.0
If we subtract 0 from 6, we get 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 7

Moving on to step 6:
When dividing 67 by 7, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 32709.0
The remainder is 4 after subtracting 63 from 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 32709.5
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 8:
When dividing 50 by 7, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 32709.57
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.

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

Advancing to step 10:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 32709.5714
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 11:
20 divided by 7 is 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 32709.57142
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.

Going ahead to step 12:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 32709.571428
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 13:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 32709.5714285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 14:
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: 32709.57142857
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.

Our division results in 32709.57142857 with a remaining 1e-09.