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

Let's proceed to step 1:
7 can be fit into 6 0 times, resulting in a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 7

Advancing to step 2:
7 goes into 64 9 times with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtracting 63 from 64 leaves us with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 7

Let's proceed to step 3:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 91.0
The remainder is 3 after subtracting 7 from 10.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 7

Moving on to step 4:
The number 7 fits into 32 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 914.0
Subtract 28 from 32 to get 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 7

Step 5:
7 goes into 43 6 times with a remainder of 1.
The next digit of our result is 6. 
Result so far: 9146.0
Deduct 42 from 43 and we're left with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 7

Let's proceed to step 6:
If we divide 18 by 7, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 91462.0
Subtract 14 from 18 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.

Let's proceed to step 7:
When dividing 40 by 7, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 91462.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.

Moving on 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: 91462.57
The remainder is 1 after subtracting 49 from 50.
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 9:
10 divided by 7 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 91462.571
Subtract 7 from 10 to 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 10:
30 divided by 7 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 91462.5714
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.

On to step 11:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 91462.57142
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.

Advancing to step 12:
60 divided by 7 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 91462.571428
If we take 56 away from 60, we end up 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.

Moving on to step 13:
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: 91462.5714285
If we subtract 35 from 40, we 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.

Advancing to step 14:
If we divide 50 by 7, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 91462.57142857
If we subtract 49 from 50, we 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.

The final result is 91462.57142857 with a remainder of 1e-09.