Let's divide 161217 by 4
We want to divide 161217 by 4.

Advancing to step 1:
The number 4 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 4

Step 2:
If we divide 16 by 4, we get 4 and a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 16 from 16, we get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 4

Let's proceed to step 3:
When dividing 1 by 4, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 40.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 4

Advancing to step 4:
When dividing 12 by 4, we get 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 403.0
If we subtract 12 from 12, we get 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 4

Let's proceed to step 5:
If we divide 1 by 4, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 4030.0
If we take 0 away from 1, we end up with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 4

Advancing to step 6:
4 goes into 17 4 times with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 40304.0
The remainder is 1 after subtracting 16 from 17.
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 7:
The number 4 fits into 10 2 times, leaving a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 40304.2
Deduct 8 from 10 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 8:
20 divided by 4 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 40304.25
Deduct 20 from 20 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 40304.25
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 40304.25
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 40304.25 and a remainder of 0.0.