We look at the division of 497158 by 4 
Let's see how many times 4 fits into 497158.

On to step 1:
4 can be fit into 4 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 4 away from 4, we end up with 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 4

On to step 2:
9 divided by 4 is 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 8 from 9 leaves us with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 4

Moving on to step 3:
The number 4 fits into 17 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 124.0
Deduct 16 from 17 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

Going ahead to step 4:
4 can be fit into 11 2 times, resulting in a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 1242.0
Subtract 8 from 11 to get 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 4

Advancing to step 5:
35 divided by 4 is 8 with a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 12428.0
The remainder is 3 after subtracting 32 from 35.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 4

On to step 6:
38 divided by 4 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 124289.0
Subtract 36 from 38 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.

Going ahead to step 7:
When dividing 20 by 4, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 124289.5
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.

Let's proceed to step 8:
0 divided by 4 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 124289.5
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.

Moving on to step 9:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 124289.5
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.

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