Let's divide 31838 by 74
We're looking to find how many times 74 goes into 31838.

Advancing to step 1:
74 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 74

On to step 2:
31 divided by 74 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 74

On to step 3:
74 can be fit into 318 4 times, resulting in a remainder of 22.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 296 from 318 and we're left with 22.
Fetch the next digit (3) from the dividend, attach it to 22 and continue: 223 / 74

Moving on to step 4:
223 divided by 74 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 43.0
If we take 222 away from 223, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 74

Let's proceed to step 5:
When dividing 18 by 74, we get 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 430.0
Subtracting 0 from 18 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 6:
74 can be fit into 180 2 times, resulting in a remainder of 32.
The next digit of our result is 2. 
Result so far: 430.2
Subtracting 148 from 180 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 7:
320 divided by 74 is 4 with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 430.24
Subtract 296 from 320 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
If we divide 240 by 74, we get 3 and a remainder of 18.
The next digit of our result is 3. 
Result so far: 430.243
Subtracting 222 from 240 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 9:
180 divided by 74 is 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 430.2432
Subtract 148 from 180 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 10:
When dividing 320 by 74, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 430.24324
Subtracting 296 from 320 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 11:
When dividing 240 by 74, we get 3 with a remainder of 18.
Put 3 as the next digit of the answer. 
Result so far: 430.243243
If we take 222 away from 240, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
When dividing 180 by 74, we get 2 with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 430.2432432
If we take 148 away from 180, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
320 divided by 74 is 4 with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 430.24324324
If we take 296 away from 320, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 430.24324324 and a remainder of 2.4e-08.