We look at the division of 40156481 by 247 
We're looking to find how many times 247 goes into 40156481.

On to step 1:
247 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 247

Moving on to step 2:
The number 247 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 247

Let's proceed to step 3:
247 goes into 401 1 times with a remainder of 154.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 247 from 401 leaves us with 154.
Include the next digit (5) from the dividend after 154, then repeat: 1545 / 247

Step 4:
The number 247 fits into 1545 6 times, leaving a remainder of 63.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we subtract 1482 from 1545, we get 63.
Grab the next digit (6) from the dividend, add it to 63, then carry on: 636 / 247

Moving on to step 5:
247 can be fit into 636 2 times, resulting in a remainder of 142.
Record the quotient 2 as the next digit in the result. 
Result so far: 162.0
Subtracting 494 from 636 leaves us with 142.
Take the next digit (4) from the dividend and append it to 142, then repeat: 1424 / 247

Step 6:
When dividing 1424 by 247, we get 5 with a remainder of 189.
Use 5 as the next digit of our solution. 
Result so far: 1625.0
If we take 1235 away from 1424, we end up with 189.
Bring next digit (8) of the dividend behind the 189 and repeat the process: 1898 / 247

Moving on to step 7:
247 goes into 1898 7 times with a remainder of 169.
The next digit of our result is 7. 
Result so far: 16257.0
If we take 1729 away from 1898, we end up with 169.
Append the next digit (1) from the dividend to 169 and continue with: 1691 / 247

On to step 8:
The number 247 fits into 1691 6 times, leaving a remainder of 209.
Record the quotient 6 as the next digit in the result. 
Result so far: 162576.0
Deduct 1482 from 1691 and we're left with 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

Going ahead to step 9:
When dividing 2090 by 247, we get 8 with a remainder of 114.
Record the quotient 8 as the next digit in the result. 
Result so far: 162576.8
Subtracting 1976 from 2090 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 10:
247 can be fit into 1140 4 times, resulting in a remainder of 152.
Put 4 as the next digit of the answer. 
Result so far: 162576.84
If we subtract 988 from 1140, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Advancing to step 11:
If we divide 1520 by 247, we get 6 and a remainder of 38.
The next digit of our result is 6. 
Result so far: 162576.846
The remainder is 38 after subtracting 1482 from 1520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 12:
When dividing 380 by 247, we get 1 with a remainder of 133.
The next digit of our result is 1. 
Result so far: 162576.8461
Deduct 247 from 380 and we're left with 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Step 13:
1330 divided by 247 is 5 with a remainder of 95.
The next digit of our result is 5. 
Result so far: 162576.84615
Subtract 1235 from 1330 to get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Moving on to step 14:
247 can be fit into 950 3 times, resulting in a remainder of 209.
The number 3 becomes the next digit in our result. 
Result so far: 162576.846153
Subtracting 741 from 950 leaves us with 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

Advancing to step 15:
2090 divided by 247 is 8 with a remainder of 114.
The number 8 becomes the next digit in our result. 
Result so far: 162576.8461538
The remainder is 114 after subtracting 1976 from 2090.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 16:
The number 247 fits into 1140 4 times, leaving a remainder of 152.
Record the quotient 4 as the next digit in the result. 
Result so far: 162576.84615384
If we subtract 988 from 1140, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Our division results in 162576.84615384 with a remaining 1.52e-07.