We divide 127145 by 7
We want to figure out the number of times 127145 can be divided by 7.

Step 1:
The number 7 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 7

Step 2:
The number 7 fits into 12 1 times, leaving a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
If we take 7 away from 12, we end up with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 7

Moving on to step 3:
If we divide 57 by 7, we get 8 and a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtract 56 from 57 to get 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 7

Advancing to step 4:
When dividing 11 by 7, we get 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 181.0
Subtracting 7 from 11 leaves us with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 7

On to step 5:
When dividing 44 by 7, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 1816.0
If we take 42 away from 44, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 7

Moving on to step 6:
7 can be fit into 25 3 times, resulting in a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 18163.0
If we subtract 21 from 25, we 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.

On to step 7:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 18163.5
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.

Advancing to step 8:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 18163.57
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.

Step 9:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 18163.571
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.

Advancing to step 10:
30 divided by 7 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 18163.5714
If we take 28 away from 30, 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.

Advancing 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: 18163.57142
Deduct 14 from 20 and we're left 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 12:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18163.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.

Let's proceed to step 13:
7 can be fit into 40 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 18163.5714285
Deduct 35 from 40 and we're left 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.

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: 18163.57142857
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.

The quotient of the division is 18163.57142857, and the remainder is 1e-09.