We divide 40738173 by 259
We're looking to find how many times 259 goes into 40738173.

On to step 1:
The number 259 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 259

Moving on to step 2:
259 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 259

Step 3:
If we divide 407 by 259, we get 1 and a remainder of 148.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 259 from 407, we get 148.
Take the next digit (3) from the dividend and append it to 148, then repeat: 1483 / 259

Going ahead to step 4:
259 can be fit into 1483 5 times, resulting in a remainder of 188.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtract 1295 from 1483 to get 188.
Take the next digit (8) from the dividend and append it to 188, then repeat: 1888 / 259

On to step 5:
1888 divided by 259 is 7 with a remainder of 75.
Write down 7 as next digit of the result. 
Result so far: 157.0
If we take 1813 away from 1888, we end up with 75.
Bring next digit (1) of the dividend behind the 75 and repeat the process: 751 / 259

Going ahead to step 6:
259 goes into 751 2 times with a remainder of 233.
The number 2 becomes the next digit in our result. 
Result so far: 1572.0
The remainder is 233 after subtracting 518 from 751.
Grab the next digit (7) from the dividend, add it to 233, then carry on: 2337 / 259

Let's proceed to step 7:
If we divide 2337 by 259, we get 9 and a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 15729.0
Subtracting 2331 from 2337 leaves us with 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 259

Advancing to step 8:
63 divided by 259 is 0 with a remainder of 63.
The number 0 becomes the next digit in our result. 
Result so far: 157290.0
If we take 0 away from 63, we end up with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 9:
When dividing 630 by 259, we get 2 with a remainder of 112.
Put 2 as the next digit of the answer. 
Result so far: 157290.2
Subtracting 518 from 630 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Step 10:
259 goes into 1120 4 times with a remainder of 84.
Record the quotient 4 as the next digit in the result. 
Result so far: 157290.24
If we subtract 1036 from 1120, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 11:
When dividing 840 by 259, we get 3 with a remainder of 63.
Record the quotient 3 as the next digit in the result. 
Result so far: 157290.243
If we take 777 away from 840, we end up with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 12:
259 can be fit into 630 2 times, resulting in a remainder of 112.
Record the quotient 2 as the next digit in the result. 
Result so far: 157290.2432
The remainder is 112 after subtracting 518 from 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 13:
259 goes into 1120 4 times with a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 157290.24324
If we subtract 1036 from 1120, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 14:
The number 259 fits into 840 3 times, leaving a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 157290.243243
Deduct 777 from 840 and we're left with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Moving on to step 15:
259 can be fit into 630 2 times, resulting in a remainder of 112.
The number 2 becomes the next digit in our result. 
Result so far: 157290.2432432
If we take 518 away from 630, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 16:
259 can be fit into 1120 4 times, resulting in a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 157290.24324324
Deduct 1036 from 1120 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

The final result is 157290.24324324 with a remainder of 8.4e-08.