We divide 402140 by 4
We want to figure out the number of times 402140 can be divided by 4.

Going ahead to step 1:
If we divide 4 by 4, we get 1 and a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 4 away from 4, we end up with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 4

Let's proceed to step 2:
If we divide 0 by 4, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we take 0 away from 0, we end up with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 4

Step 3:
4 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
If we subtract 0 from 2, we get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 4

Going ahead to step 4:
If we divide 21 by 4, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 1005.0
The remainder is 1 after subtracting 20 from 21.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 4

Step 5:
14 divided by 4 is 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 10053.0
Subtract 12 from 14 to get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 4

Let's proceed to step 6:
When dividing 20 by 4, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 100535.0
If we take 20 away from 20, 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.

Let's proceed to step 7:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 100535.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 100535.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 100535.0 with a remainder of 0.0.