We're dividing 38821831 by 505 
Let's see how many times 505 fits into 38821831.

Let's proceed to step 1:
When dividing 3 by 505, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 505

Going ahead to step 2:
When dividing 38 by 505, we get 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Take the next digit (8) from the dividend and append it to 38, then repeat: 388 / 505

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

Going ahead to step 4:
505 can be fit into 3882 7 times, resulting in a remainder of 347.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we take 3535 away from 3882, we end up with 347.
Take the next digit (1) from the dividend and append it to 347, then repeat: 3471 / 505

Going ahead to step 5:
The number 505 fits into 3471 6 times, leaving a remainder of 441.
Put 6 as the next digit of the answer. 
Result so far: 76.0
The remainder is 441 after subtracting 3030 from 3471.
Grab the next digit (8) from the dividend, add it to 441, then carry on: 4418 / 505

Going ahead to step 6:
The number 505 fits into 4418 8 times, leaving a remainder of 378.
Use 8 as the next digit of our solution. 
Result so far: 768.0
If we take 4040 away from 4418, we end up with 378.
Fetch the next digit (3) from the dividend, attach it to 378 and continue: 3783 / 505

Moving on to step 7:
505 goes into 3783 7 times with a remainder of 248.
Write down 7 as next digit of the result. 
Result so far: 7687.0
Deduct 3535 from 3783 and we're left with 248.
Fetch the next digit (1) from the dividend, attach it to 248 and continue: 2481 / 505

On to step 8:
If we divide 2481 by 505, we get 4 and a remainder of 461.
Write down 4 as next digit of the result. 
Result so far: 76874.0
If we subtract 2020 from 2481, we get 461.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4610, and continue the process.

Going ahead to step 9:
4610 divided by 505 is 9 with a remainder of 65.
The next digit of our result is 9. 
Result so far: 76874.9
Deduct 4545 from 4610 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 10:
When dividing 650 by 505, we get 1 with a remainder of 145.
Write down 1 as next digit of the result. 
Result so far: 76874.91
Deduct 505 from 650 and we're left with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Moving on to step 11:
The number 505 fits into 1450 2 times, leaving a remainder of 440.
Use 2 as the next digit of our solution. 
Result so far: 76874.912
The remainder is 440 after subtracting 1010 from 1450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Let's proceed to step 12:
When dividing 4400 by 505, we get 8 with a remainder of 360.
Record the quotient 8 as the next digit in the result. 
Result so far: 76874.9128
Subtract 4040 from 4400 to get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Going ahead to step 13:
If we divide 3600 by 505, we get 7 and a remainder of 65.
The next digit of our result is 7. 
Result so far: 76874.91287
Deduct 3535 from 3600 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Let's proceed to step 14:
If we divide 650 by 505, we get 1 and a remainder of 145.
Put 1 as the next digit of the answer. 
Result so far: 76874.912871
The remainder is 145 after subtracting 505 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Going ahead to step 15:
When dividing 1450 by 505, we get 2 with a remainder of 440.
Use 2 as the next digit of our solution. 
Result so far: 76874.9128712
Subtracting 1010 from 1450 leaves us with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Step 16:
When dividing 4400 by 505, we get 8 with a remainder of 360.
The number 8 becomes the next digit in our result. 
Result so far: 76874.91287128
Deduct 4040 from 4400 and we're left with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

After the division, we end up with 76874.91287128 and a remainder of 3.6e-07.