Let's divide 40784076 by 27
We want to figure out the number of times 40784076 can be divided by 27.

On to step 1:
27 goes into 4 0 times with 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 27

On to step 2:
The number 27 fits into 40 1 times, leaving a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 13 after subtracting 27 from 40.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 27

Moving on to step 3:
If we divide 137 by 27, we get 5 and a remainder of 2.
The next digit of our result is 5. 
Result so far: 15.0
If we subtract 135 from 137, we get 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 27

Advancing to step 4:
When dividing 28 by 27, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 151.0
If we take 27 away from 28, we end up with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 27

On to step 5:
14 divided by 27 is 0 with a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 1510.0
Subtract 0 from 14 to get 14.
Fetch the next digit (0) from the dividend, attach it to 14 and continue: 140 / 27

Moving on to step 6:
140 divided by 27 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 15105.0
Deduct 135 from 140 and we're left with 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 27

Moving on to step 7:
57 divided by 27 is 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 151052.0
Subtracting 54 from 57 leaves us with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 27

Going ahead to step 8:
27 can be fit into 36 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1510521.0
Subtract 27 from 36 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
27 goes into 90 3 times with a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 1510521.3
Subtract 81 from 90 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 10:
If we divide 90 by 27, we get 3 and a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 1510521.33
Subtract 81 from 90 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 1510521.33, with a leftover of 0.009.