We're dividing 581801 by 37 
Let's see how many times 37 fits into 581801.

Going ahead to step 1:
The number 37 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 37

Let's proceed to step 2:
If we divide 58 by 37, we get 1 and a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 37 from 58 leaves us with 21.
Take the next digit (1) from the dividend and append it to 21, then repeat: 211 / 37

Going ahead to step 3:
37 can be fit into 211 5 times, resulting in a remainder of 26.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtracting 185 from 211 leaves us with 26.
Grab the next digit (8) from the dividend, add it to 26, then carry on: 268 / 37

On to step 4:
37 goes into 268 7 times with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 157.0
If we take 259 away from 268, we end up with 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 37

Step 5:
37 can be fit into 90 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 1572.0
Deduct 74 from 90 and we're left with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 37

Let's proceed to step 6:
If we divide 161 by 37, we get 4 and a remainder of 13.
Use 4 as the next digit of our solution. 
Result so far: 15724.0
Deduct 148 from 161 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
If we divide 130 by 37, we get 3 and a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 15724.3
The remainder is 19 after subtracting 111 from 130.
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 8:
37 goes into 190 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 15724.35
If we take 185 away from 190, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 9:
37 can be fit into 50 1 times, resulting in a remainder of 13.
The next digit of our result is 1. 
Result so far: 15724.351
Subtracting 37 from 50 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 10:
If we divide 130 by 37, we get 3 and a remainder of 19.
The next digit of our result is 3. 
Result so far: 15724.3513
Deduct 111 from 130 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 11:
37 goes into 190 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 15724.35135
If we take 185 away from 190, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 12:
If we divide 50 by 37, we get 1 and a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 15724.351351
The remainder is 13 after subtracting 37 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 13:
When dividing 130 by 37, we get 3 with a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 15724.3513513
Subtract 111 from 130 to 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.

Advancing to step 14:
If we divide 190 by 37, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 15724.35135135
Deduct 185 from 190 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 15724.35135135 with a remaining 5e-09.