Let's divide 312167 by 7
Our goal is to divide 312167 by 7.

Going ahead to step 1:
When dividing 3 by 7, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 7

Moving on to step 2:
31 divided by 7 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 28 from 31 leaves us with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 7

Going ahead to step 3:
When dividing 32 by 7, we get 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtracting 28 from 32 leaves us with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 7

Advancing to step 4:
When dividing 41 by 7, we get 5 with a remainder of 6.
The next digit of our result is 5. 
Result so far: 445.0
Subtract 35 from 41 to get 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 7

Let's proceed to step 5:
7 goes into 66 9 times with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 4459.0
If we take 63 away from 66, we end up with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 7

Step 6:
If we divide 37 by 7, we get 5 and a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 44595.0
Subtract 35 from 37 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.

Moving on to step 7:
20 divided by 7 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 44595.2
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.

Moving on to step 8:
If we divide 60 by 7, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 44595.28
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.

Going ahead to step 9:
40 divided by 7 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 44595.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: 44595.2857
Deduct 49 from 50 and we're left 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 11:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 44595.28571
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.

Let's proceed to step 12:
When dividing 30 by 7, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 44595.285714
Subtracting 28 from 30 leaves us 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 13:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 44595.2857142
If we take 14 away from 20, we end up 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 14:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 44595.28571428
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.

After the division, we end up with 44595.28571428 and a remainder of 4e-09.