We divide 40918134 by 364
Our goal is to divide 40918134 by 364.

Going ahead to step 1:
If we divide 4 by 364, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 364

Step 2:
The number 364 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Grab the next digit (9) from the dividend, add it to 40, then carry on: 409 / 364

Advancing to step 3:
The number 364 fits into 409 1 times, leaving a remainder of 45.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 364 from 409 and we're left with 45.
Fetch the next digit (1) from the dividend, attach it to 45 and continue: 451 / 364

Let's proceed to step 4:
If we divide 451 by 364, we get 1 and a remainder of 87.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Deduct 364 from 451 and we're left with 87.
Include the next digit (8) from the dividend after 87, then repeat: 878 / 364

Let's proceed to step 5:
364 goes into 878 2 times with a remainder of 150.
Put 2 as the next digit of the answer. 
Result so far: 112.0
If we subtract 728 from 878, we get 150.
Append the next digit (1) from the dividend to 150 and continue with: 1501 / 364

Going ahead to step 6:
If we divide 1501 by 364, we get 4 and a remainder of 45.
Record the quotient 4 as the next digit in the result. 
Result so far: 1124.0
Subtracting 1456 from 1501 leaves us with 45.
Take the next digit (3) from the dividend and append it to 45, then repeat: 453 / 364

On to step 7:
364 goes into 453 1 times with a remainder of 89.
Record the quotient 1 as the next digit in the result. 
Result so far: 11241.0
Subtracting 364 from 453 leaves us with 89.
Take the next digit (4) from the dividend and append it to 89, then repeat: 894 / 364

Moving on to step 8:
When dividing 894 by 364, we get 2 with a remainder of 166.
Write down 2 as next digit of the result. 
Result so far: 112412.0
Deduct 728 from 894 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Let's proceed to step 9:
364 goes into 1660 4 times with a remainder of 204.
The number 4 becomes the next digit in our result. 
Result so far: 112412.4
Deduct 1456 from 1660 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Moving on to step 10:
If we divide 2040 by 364, we get 5 and a remainder of 220.
Write down 5 as next digit of the result. 
Result so far: 112412.45
If we take 1820 away from 2040, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Advancing to step 11:
364 goes into 2200 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 112412.456
If we take 2184 away from 2200, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 12:
364 goes into 160 0 times with a remainder of 160.
Use 0 as the next digit of our solution. 
Result so far: 112412.456
If we take 0 away from 160, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Step 13:
364 goes into 1600 4 times with a remainder of 144.
Use 4 as the next digit of our solution. 
Result so far: 112412.45604
If we subtract 1456 from 1600, we get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

On to step 14:
1440 divided by 364 is 3 with a remainder of 348.
Put 3 as the next digit of the answer. 
Result so far: 112412.456043
If we subtract 1092 from 1440, we get 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

On to step 15:
When dividing 3480 by 364, we get 9 with a remainder of 204.
Record the quotient 9 as the next digit in the result. 
Result so far: 112412.4560439
Subtracting 3276 from 3480 leaves us with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Going ahead to step 16:
When dividing 2040 by 364, we get 5 with a remainder of 220.
The next digit of our result is 5. 
Result so far: 112412.45604395
Deduct 1820 from 2040 and we're left with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

The final result is 112412.45604395 with a remainder of 2.2e-07.