40387059 divided by 835 
We want to divide 40387059 by 835.

Advancing to step 1:
When dividing 4 by 835, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 835

Moving on to step 2:
40 divided by 835 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (3) of the dividend behind the 40 and repeat the process: 403 / 835

Step 3:
If we divide 403 by 835, we get 0 and a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 403, we end up with 403.
Grab the next digit (8) from the dividend, add it to 403, then carry on: 4038 / 835

Let's proceed to step 4:
When dividing 4038 by 835, we get 4 with a remainder of 698.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 3340 from 4038 to get 698.
Bring next digit (7) of the dividend behind the 698 and repeat the process: 6987 / 835

Going ahead to step 5:
835 can be fit into 6987 8 times, resulting in a remainder of 307.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
The remainder is 307 after subtracting 6680 from 6987.
Bring next digit (0) of the dividend behind the 307 and repeat the process: 3070 / 835

On to step 6:
835 can be fit into 3070 3 times, resulting in a remainder of 565.
Use 3 as the next digit of our solution. 
Result so far: 483.0
The remainder is 565 after subtracting 2505 from 3070.
Fetch the next digit (5) from the dividend, attach it to 565 and continue: 5655 / 835

Going ahead to step 7:
If we divide 5655 by 835, we get 6 and a remainder of 645.
Write down 6 as next digit of the result. 
Result so far: 4836.0
The remainder is 645 after subtracting 5010 from 5655.
Fetch the next digit (9) from the dividend, attach it to 645 and continue: 6459 / 835

Going ahead to step 8:
6459 divided by 835 is 7 with a remainder of 614.
Use 7 as the next digit of our solution. 
Result so far: 48367.0
Subtract 5845 from 6459 to get 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

Moving on to step 9:
If we divide 6140 by 835, we get 7 and a remainder of 295.
Use 7 as the next digit of our solution. 
Result so far: 48367.7
Subtract 5845 from 6140 to get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Step 10:
2950 divided by 835 is 3 with a remainder of 445.
Write down 3 as next digit of the result. 
Result so far: 48367.73
Subtracting 2505 from 2950 leaves us with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

On to step 11:
4450 divided by 835 is 5 with a remainder of 275.
The next digit of our result is 5. 
Result so far: 48367.735
Subtract 4175 from 4450 to get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Let's proceed to step 12:
If we divide 2750 by 835, we get 3 and a remainder of 245.
Use 3 as the next digit of our solution. 
Result so far: 48367.7353
The remainder is 245 after subtracting 2505 from 2750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Let's proceed to step 13:
The number 835 fits into 2450 2 times, leaving a remainder of 780.
The number 2 becomes the next digit in our result. 
Result so far: 48367.73532
Subtract 1670 from 2450 to get 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Moving on to step 14:
835 can be fit into 7800 9 times, resulting in a remainder of 285.
The number 9 becomes the next digit in our result. 
Result so far: 48367.735329
If we take 7515 away from 7800, we end up with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

Let's proceed to step 15:
The number 835 fits into 2850 3 times, leaving a remainder of 345.
The next digit of our result is 3. 
Result so far: 48367.7353293
The remainder is 345 after subtracting 2505 from 2850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Going ahead to step 16:
835 goes into 3450 4 times with a remainder of 110.
Record the quotient 4 as the next digit in the result. 
Result so far: 48367.73532934
Deduct 3340 from 3450 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

In conclusion, the division gives 48367.73532934 with a balance of 1.1e-07.