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

On to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 38

Step 2:
When dividing 50 by 38, we get 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 38 from 50 to get 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 38

Going ahead to step 3:
38 can be fit into 129 3 times, resulting in a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtracting 114 from 129 leaves us with 15.
Take the next digit (7) from the dividend and append it to 15, then repeat: 157 / 38

Advancing to step 4:
38 goes into 157 4 times with a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 134.0
The remainder is 5 after subtracting 152 from 157.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 38

Let's proceed to step 5:
50 divided by 38 is 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1341.0
Deduct 38 from 50 and we're left with 12.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 38

Step 6:
129 divided by 38 is 3 with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 13413.0
If we take 114 away from 129, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
38 goes into 150 3 times with a remainder of 36.
The number 3 becomes the next digit in our result. 
Result so far: 13413.3
Deduct 114 from 150 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
38 goes into 360 9 times with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 13413.39
Deduct 342 from 360 and we're left 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.

Advancing to step 9:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 13413.394
If we subtract 152 from 180, 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.

Advancing to step 10:
When dividing 280 by 38, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 13413.3947
Subtract 266 from 280 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
140 divided by 38 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 13413.39473
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
260 divided by 38 is 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 13413.394736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
If we divide 320 by 38, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 13413.3947368
If we take 304 away from 320, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 14:
When dividing 160 by 38, we get 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 13413.39473684
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 13413.39473684 with a remaining 8e-09.