We're dividing 540898 by 39 
We want to divide 540898 by 39.

Going ahead to step 1:
When dividing 5 by 39, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 39

On to step 2:
If we divide 54 by 39, we get 1 and a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 15 after subtracting 39 from 54.
Append the next digit (0) from the dividend to 15 and continue with: 150 / 39

Going ahead to step 3:
39 goes into 150 3 times with a remainder of 33.
The next digit of our result is 3. 
Result so far: 13.0
If we subtract 117 from 150, we get 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 39

Advancing to step 4:
If we divide 338 by 39, we get 8 and a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 138.0
Deduct 312 from 338 and we're left with 26.
Grab the next digit (9) from the dividend, add it to 26, then carry on: 269 / 39

Step 5:
39 goes into 269 6 times with a remainder of 35.
The next digit of our result is 6. 
Result so far: 1386.0
Deduct 234 from 269 and we're left with 35.
Take the next digit (8) from the dividend and append it to 35, then repeat: 358 / 39

On to step 6:
39 can be fit into 358 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 13869.0
The remainder is 7 after subtracting 351 from 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
If we divide 70 by 39, we get 1 and a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 13869.1
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 8:
When dividing 310 by 39, we get 7 with a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 13869.17
Subtracting 273 from 310 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 9:
When dividing 370 by 39, we get 9 with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 13869.179
If we subtract 351 from 370, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 10:
39 can be fit into 190 4 times, resulting in a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 13869.1794
Subtracting 156 from 190 leaves us 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.

Step 11:
340 divided by 39 is 8 with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 13869.17948
If we subtract 312 from 340, we 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.

Moving on to step 12:
If we divide 280 by 39, we get 7 and a remainder of 7.
The next digit of our result is 7. 
Result so far: 13869.179487
Deduct 273 from 280 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 13:
70 divided by 39 is 1 with a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 13869.1794871
If we take 39 away from 70, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 14:
If we divide 310 by 39, we get 7 and a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 13869.17948717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

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