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

Let's proceed to step 1:
5 divided by 38 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 38

On to step 2:
The number 38 fits into 53 1 times, leaving a remainder of 15.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 38 from 53 and we're left with 15.
Grab the next digit (5) from the dividend, add it to 15, then carry on: 155 / 38

Going ahead to step 3:
The number 38 fits into 155 4 times, leaving a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we subtract 152 from 155, we get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 38

Going ahead to step 4:
If we divide 30 by 38, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
Deduct 0 from 30 and we're left with 30.
Bring next digit (1) of the dividend behind the 30 and repeat the process: 301 / 38

Advancing to step 5:
If we divide 301 by 38, we get 7 and a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 1407.0
If we subtract 266 from 301, we get 35.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 38

Step 6:
If we divide 358 by 38, we get 9 and a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 14079.0
The remainder is 16 after subtracting 342 from 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 14079.4
Subtract 152 from 160 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
When dividing 80 by 38, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 14079.42
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
If we divide 40 by 38, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 14079.421
Subtract 38 from 40 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.

On to step 10:
38 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 14079.421
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.

Step 11:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The next digit of our result is 5. 
Result so far: 14079.42105
Subtracting 190 from 200 leaves us 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 12:
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: 14079.421052
If we subtract 76 from 100, we 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.

On to step 13:
38 can be fit into 240 6 times, resulting in a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 14079.4210526
Deduct 228 from 240 and we're left 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.

Let's proceed to step 14:
If we divide 120 by 38, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 14079.42105263
Subtract 114 from 120 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 14079.42105263, and the remainder is 6e-09.