We're dividing 841259 by 40 
We want to figure out the number of times 841259 can be divided by 40.

On to step 1:
When dividing 8 by 40, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 40

On to step 2:
40 can be fit into 84 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 80 from 84 leaves us with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 40

On to step 3:
40 can be fit into 41 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we subtract 40 from 41, we get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 40

Step 4:
If we divide 12 by 40, we get 0 and a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 210.0
Deduct 0 from 12 and we're left with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 40

On to step 5:
40 can be fit into 125 3 times, resulting in a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 2103.0
The remainder is 5 after subtracting 120 from 125.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 40

Let's proceed to step 6:
When dividing 59 by 40, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 21031.0
If we take 40 away from 59, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
40 goes into 190 4 times with a remainder of 30.
The next digit of our result is 4. 
Result so far: 21031.4
Deduct 160 from 190 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 21031.47
Subtract 280 from 300 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 21031.475
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 21031.475
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.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 21031.475
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 21031.475 and a remainder of 0.0.