We're dividing 40177845 by 59 
We're looking to find how many times 59 goes into 40177845.

On to step 1:
The number 59 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 59

Advancing to step 2:
The number 59 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 59

Let's proceed to step 3:
401 divided by 59 is 6 with a remainder of 47.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtract 354 from 401 to get 47.
Fetch the next digit (7) from the dividend, attach it to 47 and continue: 477 / 59

Advancing to step 4:
The number 59 fits into 477 8 times, leaving a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 68.0
Subtracting 472 from 477 leaves us with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 59

On to step 5:
57 divided by 59 is 0 with a remainder of 57.
Record the quotient 0 as the next digit in the result. 
Result so far: 680.0
Subtract 0 from 57 to get 57.
Fetch the next digit (8) from the dividend, attach it to 57 and continue: 578 / 59

Let's proceed to step 6:
The number 59 fits into 578 9 times, leaving a remainder of 47.
The next digit of our result is 9. 
Result so far: 6809.0
Subtract 531 from 578 to get 47.
Include the next digit (4) from the dividend after 47, then repeat: 474 / 59

Step 7:
When dividing 474 by 59, we get 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 68098.0
If we subtract 472 from 474, we get 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 59

Moving on to step 8:
The number 59 fits into 25 0 times, leaving a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 680980.0
The remainder is 25 after subtracting 0 from 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 9:
The number 59 fits into 250 4 times, leaving a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 680980.4
Subtracting 236 from 250 leaves us 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 10:
The number 59 fits into 140 2 times, leaving a remainder of 22.
The next digit of our result is 2. 
Result so far: 680980.42
The remainder is 22 after subtracting 118 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
59 can be fit into 220 3 times, resulting in a remainder of 43.
Use 3 as the next digit of our solution. 
Result so far: 680980.423
If we take 177 away from 220, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 12:
When dividing 430 by 59, we get 7 with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 680980.4237
The remainder is 17 after subtracting 413 from 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 13:
The number 59 fits into 170 2 times, leaving a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 680980.42372
Deduct 118 from 170 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 14:
If we divide 520 by 59, we get 8 and a remainder of 48.
The next digit of our result is 8. 
Result so far: 680980.423728
Deduct 472 from 520 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 15:
480 divided by 59 is 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 680980.4237288
If we take 472 away from 480, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 680980.4237288 with a remainder of 8e-08.