We're dividing 521058 by 38 
We want to divide 521058 by 38.

Step 1:
5 divided by 38 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 38

Advancing to step 2:
If we divide 52 by 38, we get 1 and a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 38 from 52 to get 14.
Append the next digit (1) from the dividend to 14 and continue with: 141 / 38

Step 3:
141 divided by 38 is 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 13.0
Subtracting 114 from 141 leaves us with 27.
Take the next digit (0) from the dividend and append it to 27, then repeat: 270 / 38

Going ahead to step 4:
38 can be fit into 270 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 137.0
Subtract 266 from 270 to get 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 38

Going ahead to step 5:
45 divided by 38 is 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1371.0
If we take 38 away from 45, we end up with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 38

Advancing to step 6:
When dividing 78 by 38, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 13712.0
Subtract 76 from 78 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
If we divide 20 by 38, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 13712.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
38 goes into 200 5 times with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 13712.05
If we take 190 away from 200, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 9:
100 divided by 38 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 13712.052
Subtract 76 from 100 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.

Moving on to step 10:
240 divided by 38 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 13712.0526
Subtracting 228 from 240 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 11:
When dividing 120 by 38, we get 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 13712.05263
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 12:
If we divide 60 by 38, we get 1 and a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 13712.052631
The remainder is 22 after subtracting 38 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 13:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 13712.0526315
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 14:
The number 38 fits into 300 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 13712.05263157
If we take 266 away from 300, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 13712.05263157 with a remaining 3.4e-08.