40356274 divided by 784 
Let's see how many times 784 fits into 40356274.

Let's proceed to step 1:
784 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 784

Let's proceed to step 2:
784 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 784

Advancing to step 3:
The number 784 fits into 403 0 times, leaving a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 403 leaves us with 403.
Bring next digit (5) of the dividend behind the 403 and repeat the process: 4035 / 784

On to step 4:
The number 784 fits into 4035 5 times, leaving a remainder of 115.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 3920 from 4035 leaves us with 115.
Grab the next digit (6) from the dividend, add it to 115, then carry on: 1156 / 784

Advancing to step 5:
1156 divided by 784 is 1 with a remainder of 372.
Use 1 as the next digit of our solution. 
Result so far: 51.0
If we subtract 784 from 1156, we get 372.
Bring next digit (2) of the dividend behind the 372 and repeat the process: 3722 / 784

Going ahead to step 6:
If we divide 3722 by 784, we get 4 and a remainder of 586.
Use 4 as the next digit of our solution. 
Result so far: 514.0
If we take 3136 away from 3722, we end up with 586.
Take the next digit (7) from the dividend and append it to 586, then repeat: 5867 / 784

Advancing to step 7:
5867 divided by 784 is 7 with a remainder of 379.
The number 7 becomes the next digit in our result. 
Result so far: 5147.0
Subtracting 5488 from 5867 leaves us with 379.
Take the next digit (4) from the dividend and append it to 379, then repeat: 3794 / 784

Moving on to step 8:
784 can be fit into 3794 4 times, resulting in a remainder of 658.
Use 4 as the next digit of our solution. 
Result so far: 51474.0
The remainder is 658 after subtracting 3136 from 3794.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6580, and continue the process.

Advancing to step 9:
When dividing 6580 by 784, we get 8 with a remainder of 308.
Record the quotient 8 as the next digit in the result. 
Result so far: 51474.8
Deduct 6272 from 6580 and we're left with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Going ahead to step 10:
784 goes into 3080 3 times with a remainder of 728.
The next digit of our result is 3. 
Result so far: 51474.83
The remainder is 728 after subtracting 2352 from 3080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7280, and continue the process.

Step 11:
784 can be fit into 7280 9 times, resulting in a remainder of 224.
Write down 9 as next digit of the result. 
Result so far: 51474.839
If we take 7056 away from 7280, we end up with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Step 12:
When dividing 2240 by 784, we get 2 with a remainder of 672.
Record the quotient 2 as the next digit in the result. 
Result so far: 51474.8392
The remainder is 672 after subtracting 1568 from 2240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Moving on to step 13:
If we divide 6720 by 784, we get 8 and a remainder of 448.
Record the quotient 8 as the next digit in the result. 
Result so far: 51474.83928
If we take 6272 away from 6720, we end up with 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Let's proceed to step 14:
4480 divided by 784 is 5 with a remainder of 560.
Record the quotient 5 as the next digit in the result. 
Result so far: 51474.839285
Subtract 3920 from 4480 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Step 15:
The number 784 fits into 5600 7 times, leaving a remainder of 112.
Use 7 as the next digit of our solution. 
Result so far: 51474.8392857
The remainder is 112 after subtracting 5488 from 5600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 16:
784 goes into 1120 1 times with a remainder of 336.
Write down 1 as next digit of the result. 
Result so far: 51474.83928571
If we subtract 784 from 1120, we get 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

In conclusion, the division gives 51474.83928571 with a balance of 3.36e-07.