We look at the division of 31047394 by 836 
We want to divide 31047394 by 836.

Let's proceed to step 1:
When dividing 3 by 836, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 836

Moving on to step 2:
The number 836 fits into 31 0 times, leaving a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (0) from the dividend, attach it to 31 and continue: 310 / 836

Advancing to step 3:
310 divided by 836 is 0 with a remainder of 310.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 310 after subtracting 0 from 310.
Include the next digit (4) from the dividend after 310, then repeat: 3104 / 836

Advancing to step 4:
3104 divided by 836 is 3 with a remainder of 596.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 2508 from 3104 leaves us with 596.
Append the next digit (7) from the dividend to 596 and continue with: 5967 / 836

Advancing to step 5:
When dividing 5967 by 836, we get 7 with a remainder of 115.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
If we subtract 5852 from 5967, we get 115.
Grab the next digit (3) from the dividend, add it to 115, then carry on: 1153 / 836

Step 6:
836 can be fit into 1153 1 times, resulting in a remainder of 317.
Record the quotient 1 as the next digit in the result. 
Result so far: 371.0
The remainder is 317 after subtracting 836 from 1153.
Append the next digit (9) from the dividend to 317 and continue with: 3179 / 836

Advancing to step 7:
836 goes into 3179 3 times with a remainder of 671.
Put 3 as the next digit of the answer. 
Result so far: 3713.0
The remainder is 671 after subtracting 2508 from 3179.
Grab the next digit (4) from the dividend, add it to 671, then carry on: 6714 / 836

Advancing to step 8:
If we divide 6714 by 836, we get 8 and a remainder of 26.
Use 8 as the next digit of our solution. 
Result so far: 37138.0
If we take 6688 away from 6714, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 9:
836 goes into 260 0 times with a remainder of 260.
Record the quotient 0 as the next digit in the result. 
Result so far: 37138.0
Deduct 0 from 260 and we're left with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Moving on to step 10:
836 goes into 2600 3 times with a remainder of 92.
Write down 3 as next digit of the result. 
Result so far: 37138.03
If we take 2508 away from 2600, we end up with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Step 11:
The number 836 fits into 920 1 times, leaving a remainder of 84.
Use 1 as the next digit of our solution. 
Result so far: 37138.031
Deduct 836 from 920 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 12:
836 goes into 840 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 37138.0311
The remainder is 4 after subtracting 836 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 37138.0311 and a remainder of 4e-05.