We're dividing 318197 by 7 
We want to figure out the number of times 318197 can be divided by 7.

Step 1:
The number 7 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 7

Moving on to step 2:
When dividing 31 by 7, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 28 from 31 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 7

Going ahead to step 3:
38 divided by 7 is 5 with a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 45.0
The remainder is 3 after subtracting 35 from 38.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 7

Advancing to step 4:
7 goes into 31 4 times with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 454.0
If we subtract 28 from 31, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 7

Moving on to step 5:
7 goes into 39 5 times with a remainder of 4.
The next digit of our result is 5. 
Result so far: 4545.0
If we take 35 away from 39, we end up with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 7

Let's proceed to step 6:
The number 7 fits into 47 6 times, leaving a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 45456.0
Subtract 42 from 47 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.

Advancing to step 7:
If we divide 50 by 7, we get 7 and a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 45456.7
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.

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

Going ahead to step 9:
When dividing 30 by 7, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 45456.714
Deduct 28 from 30 and we're left 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.

On to step 10:
20 divided by 7 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 45456.7142
Subtracting 14 from 20 leaves us with 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 11:
The number 7 fits into 60 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 45456.71428
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.

Advancing to step 12:
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: 45456.714285
Subtracting 35 from 40 leaves us 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.

On to step 13:
50 divided by 7 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 45456.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.

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

The quotient of the division is 45456.71428571, and the remainder is 3e-09.