6504106 divided by 158 
Let's see how many times 158 fits into 6504106.

Moving on to step 1:
The number 158 fits into 6 0 times, leaving a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 158

Advancing to step 2:
65 divided by 158 is 0 with a remainder of 65.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 65 leaves us with 65.
Fetch the next digit (0) from the dividend, attach it to 65 and continue: 650 / 158

Going ahead to step 3:
The number 158 fits into 650 4 times, leaving a remainder of 18.
The next digit of our result is 4. 
Result so far: 4.0
If we take 632 away from 650, we end up with 18.
Append the next digit (4) from the dividend to 18 and continue with: 184 / 158

Advancing to step 4:
When dividing 184 by 158, we get 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 41.0
The remainder is 26 after subtracting 158 from 184.
Fetch the next digit (1) from the dividend, attach it to 26 and continue: 261 / 158

On to step 5:
158 can be fit into 261 1 times, resulting in a remainder of 103.
The number 1 becomes the next digit in our result. 
Result so far: 411.0
Deduct 158 from 261 and we're left with 103.
Bring next digit (0) of the dividend behind the 103 and repeat the process: 1030 / 158

Going ahead to step 6:
The number 158 fits into 1030 6 times, leaving a remainder of 82.
The number 6 becomes the next digit in our result. 
Result so far: 4116.0
Subtract 948 from 1030 to get 82.
Take the next digit (6) from the dividend and append it to 82, then repeat: 826 / 158

On to step 7:
826 divided by 158 is 5 with a remainder of 36.
Record the quotient 5 as the next digit in the result. 
Result so far: 41165.0
Subtracting 790 from 826 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 8:
The number 158 fits into 360 2 times, leaving a remainder of 44.
Put 2 as the next digit of the answer. 
Result so far: 41165.2
If we subtract 316 from 360, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 9:
The number 158 fits into 440 2 times, leaving a remainder of 124.
The number 2 becomes the next digit in our result. 
Result so far: 41165.22
Subtracting 316 from 440 leaves us with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

The quotient of the division is 41165.22, and the remainder is 0.124.