40961 divided by 58 
We want to divide 40961 by 58.

Let's proceed to step 1:
If we divide 4 by 58, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 58

Step 2:
58 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (9) from the dividend, attach it to 40 and continue: 409 / 58

Going ahead to step 3:
When dividing 409 by 58, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 7.0
The remainder is 3 after subtracting 406 from 409.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 58

On to step 4:
58 goes into 36 0 times with a remainder of 36.
The number 0 becomes the next digit in our result. 
Result so far: 70.0
If we subtract 0 from 36, we get 36.
Grab the next digit (1) from the dividend, add it to 36, then carry on: 361 / 58

Step 5:
The number 58 fits into 361 6 times, leaving a remainder of 13.
Use 6 as the next digit of our solution. 
Result so far: 706.0
Subtracting 348 from 361 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 6:
58 can be fit into 130 2 times, resulting in a remainder of 14.
The next digit of our result is 2. 
Result so far: 706.2
Deduct 116 from 130 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
If we divide 140 by 58, we get 2 and a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 706.22
Deduct 116 from 140 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 706.22 with a remainder of 0.024.