We divide 40859 by 4
Let's see how many times 4 fits into 40859.

Moving on to step 1:
4 goes into 4 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 4 from 4 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 4

On to step 2:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 0 to get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 4

Moving on to step 3:
When dividing 8 by 4, we get 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 102.0
If we take 8 away from 8, we end up with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 4

On to step 4:
5 divided by 4 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1021.0
Subtract 4 from 5 to get 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 4

Going ahead to step 5:
The number 4 fits into 19 4 times, leaving a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 10214.0
Deduct 16 from 19 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 6:
4 can be fit into 30 7 times, resulting in a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 10214.7
If we take 28 away from 30, we end up 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.

Advancing to step 7:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 10214.75
If we subtract 20 from 20, we 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 8:
If we divide 0 by 4, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10214.75
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.

Advancing to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10214.75
If we subtract 0 from 0, we 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 quotient of the division is 10214.75, and the remainder is 0.0.