We're dividing 581421 by 39 
We want to divide 581421 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
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 39

Advancing to step 2:
39 goes into 58 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 39 from 58, we get 19.
Include the next digit (1) from the dividend after 19, then repeat: 191 / 39

Step 3:
191 divided by 39 is 4 with a remainder of 35.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
The remainder is 35 after subtracting 156 from 191.
Include the next digit (4) from the dividend after 35, then repeat: 354 / 39

Moving on to step 4:
When dividing 354 by 39, we get 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 149.0
The remainder is 3 after subtracting 351 from 354.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 39

On to step 5:
The number 39 fits into 32 0 times, leaving a remainder of 32.
Put 0 as the next digit of the answer. 
Result so far: 1490.0
Subtract 0 from 32 to get 32.
Fetch the next digit (1) from the dividend, attach it to 32 and continue: 321 / 39

Advancing to step 6:
If we divide 321 by 39, we get 8 and a remainder of 9.
Use 8 as the next digit of our solution. 
Result so far: 14908.0
If we subtract 312 from 321, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
90 divided by 39 is 2 with a remainder of 12.
The next digit of our result is 2. 
Result so far: 14908.2
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
120 divided by 39 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 14908.23
The remainder is 3 after subtracting 117 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
39 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 14908.23
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 10:
If we divide 300 by 39, we get 7 and a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 14908.2307
Subtracting 273 from 300 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 11:
39 goes into 270 6 times with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 14908.23076
Deduct 234 from 270 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.

Let's proceed to step 12:
The number 39 fits into 360 9 times, leaving a remainder of 9.
Use 9 as the next digit of our solution. 
Result so far: 14908.230769
Deduct 351 from 360 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 13:
39 can be fit into 90 2 times, resulting in a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 14908.2307692
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 14:
If we divide 120 by 39, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 14908.23076923
If we take 117 away from 120, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final result is 14908.23076923 with a remainder of 3e-09.