We look at the division of 508508 by 37 
Our goal is to divide 508508 by 37.

On to step 1:
37 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 37

On to step 2:
The number 37 fits into 50 1 times, leaving a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 13 after subtracting 37 from 50.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 37

On to step 3:
If we divide 138 by 37, we get 3 and a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 13.0
Deduct 111 from 138 and we're left with 27.
Bring next digit (5) of the dividend behind the 27 and repeat the process: 275 / 37

Let's proceed to step 4:
37 can be fit into 275 7 times, resulting in a remainder of 16.
Put 7 as the next digit of the answer. 
Result so far: 137.0
If we take 259 away from 275, we end up with 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 37

Let's proceed to step 5:
When dividing 160 by 37, we get 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 1374.0
If we take 148 away from 160, we end up with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 37

Moving on to step 6:
The number 37 fits into 128 3 times, leaving a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 13743.0
If we subtract 111 from 128, we get 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:
The number 37 fits into 170 4 times, leaving a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 13743.4
Subtracting 148 from 170 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
When dividing 220 by 37, we get 5 with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 13743.45
The remainder is 35 after subtracting 185 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 9:
350 divided by 37 is 9 with a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 13743.459
The remainder is 17 after subtracting 333 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 10:
The number 37 fits into 170 4 times, leaving a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 13743.4594
The remainder is 22 after subtracting 148 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
When dividing 220 by 37, we get 5 with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 13743.45945
The remainder is 35 after subtracting 185 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 12:
37 goes into 350 9 times with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 13743.459459
Deduct 333 from 350 and we're left 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.

Step 13:
If we divide 170 by 37, we get 4 and a remainder of 22.
The next digit of our result is 4. 
Result so far: 13743.4594594
If we take 148 away from 170, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 14:
If we divide 220 by 37, we get 5 and a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 13743.45945945
If we take 185 away from 220, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 13743.45945945, with a leftover of 3.5e-08.