31189541 divided by 838 
We're looking to find how many times 838 goes into 31189541.

Step 1:
If we divide 3 by 838, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 838

On to step 2:
838 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 838

Step 3:
If we divide 311 by 838, we get 0 and a remainder of 311.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 311 to get 311.
Append the next digit (8) from the dividend to 311 and continue with: 3118 / 838

Moving on to step 4:
838 can be fit into 3118 3 times, resulting in a remainder of 604.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 604 after subtracting 2514 from 3118.
Bring next digit (9) of the dividend behind the 604 and repeat the process: 6049 / 838

Let's proceed to step 5:
838 goes into 6049 7 times with a remainder of 183.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
If we subtract 5866 from 6049, we get 183.
Append the next digit (5) from the dividend to 183 and continue with: 1835 / 838

Going ahead to step 6:
When dividing 1835 by 838, we get 2 with a remainder of 159.
The number 2 becomes the next digit in our result. 
Result so far: 372.0
If we take 1676 away from 1835, we end up with 159.
Grab the next digit (4) from the dividend, add it to 159, then carry on: 1594 / 838

Let's proceed to step 7:
When dividing 1594 by 838, we get 1 with a remainder of 756.
Record the quotient 1 as the next digit in the result. 
Result so far: 3721.0
Deduct 838 from 1594 and we're left with 756.
Bring next digit (1) of the dividend behind the 756 and repeat the process: 7561 / 838

Advancing to step 8:
838 can be fit into 7561 9 times, resulting in a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 37219.0
If we take 7542 away from 7561, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 9:
190 divided by 838 is 0 with a remainder of 190.
Put 0 as the next digit of the answer. 
Result so far: 37219.0
Deduct 0 from 190 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Step 10:
1900 divided by 838 is 2 with a remainder of 224.
Write down 2 as next digit of the result. 
Result so far: 37219.02
If we subtract 1676 from 1900, we get 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 11:
When dividing 2240 by 838, we get 2 with a remainder of 564.
Record the quotient 2 as the next digit in the result. 
Result so far: 37219.022
Subtracting 1676 from 2240 leaves us with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

The quotient of the division is 37219.022, and the remainder is 0.0564.