Let's divide 518261 by 38
We want to divide 518261 by 38.

Going ahead to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 38

Advancing to step 2:
51 divided by 38 is 1 with a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 38 from 51 leaves us with 13.
Append the next digit (8) from the dividend to 13 and continue with: 138 / 38

Step 3:
38 goes into 138 3 times with a remainder of 24.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Deduct 114 from 138 and we're left with 24.
Bring next digit (2) of the dividend behind the 24 and repeat the process: 242 / 38

Advancing to step 4:
38 can be fit into 242 6 times, resulting in a remainder of 14.
The next digit of our result is 6. 
Result so far: 136.0
Subtract 228 from 242 to get 14.
Take the next digit (6) from the dividend and append it to 14, then repeat: 146 / 38

On to step 5:
The number 38 fits into 146 3 times, leaving a remainder of 32.
The number 3 becomes the next digit in our result. 
Result so far: 1363.0
Deduct 114 from 146 and we're left with 32.
Fetch the next digit (1) from the dividend, attach it to 32 and continue: 321 / 38

Advancing to step 6:
When dividing 321 by 38, we get 8 with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 13638.0
Subtracting 304 from 321 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
When dividing 170 by 38, we get 4 with a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 13638.4
If we take 152 away from 170, 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.

Moving on to step 8:
180 divided by 38 is 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 13638.44
Subtract 152 from 180 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 13638.44, and the remainder is 0.028.