387151 ÷ 7 
Our goal is to divide 387151 by 7.

Going ahead to step 1:
If we divide 3 by 7, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 7

Moving on to step 2:
38 divided by 7 is 5 with a remainder of 3.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 3 after subtracting 35 from 38.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 7

Advancing to step 3:
If we divide 37 by 7, we get 5 and a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 55.0
If we subtract 35 from 37, we get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 7

Moving on to step 4:
7 goes into 21 3 times with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 553.0
The remainder is 0 after subtracting 21 from 21.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 7

Advancing to step 5:
5 divided by 7 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 5530.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 7

Step 6:
The number 7 fits into 51 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 55307.0
If we take 49 away from 51, 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.

Going ahead to step 7:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 55307.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.

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

Step 9:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 55307.285
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.

Moving on to step 10:
When dividing 50 by 7, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 55307.2857
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.

Let's proceed to step 11:
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: 55307.28571
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 12:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 55307.285714
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.

Step 13:
7 goes into 20 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 55307.2857142
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 14:
If we divide 60 by 7, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 55307.28571428
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.

The final result is 55307.28571428 with a remainder of 4e-09.