We divide 145217 by 7
We're looking to find how many times 7 goes into 145217.

Step 1:
If we divide 1 by 7, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 7

Advancing to step 2:
When dividing 14 by 7, we get 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 14 from 14 to get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 7

Moving on to step 3:
The number 7 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 20.0
If we subtract 0 from 5, we get 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 7

Advancing to step 4:
52 divided by 7 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 207.0
Subtract 49 from 52 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 7

Step 5:
If we divide 31 by 7, we get 4 and a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 2074.0
The remainder is 3 after subtracting 28 from 31.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 7

Moving on to step 6:
7 can be fit into 37 5 times, resulting in a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 20745.0
Subtracting 35 from 37 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.

Step 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 20745.2
Subtract 14 from 20 to 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.

On to step 8:
If we divide 60 by 7, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 20745.28
Subtract 56 from 60 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.

Advancing to step 9:
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: 20745.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.

Let's proceed to step 10:
7 goes into 50 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 20745.2857
Subtracting 49 from 50 leaves us 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.

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

Advancing to step 12:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 20745.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.

On to step 13:
When dividing 20 by 7, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 20745.2857142
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.

On 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: 20745.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.

The final outcome is 20745.28571428, with a leftover of 4e-09.