We look at the division of 5993257 by 157 
We're looking to find how many times 157 goes into 5993257.

Let's proceed to step 1:
When dividing 5 by 157, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 157

Step 2:
157 goes into 59 0 times with a remainder of 59.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 59 leaves us with 59.
Append the next digit (9) from the dividend to 59 and continue with: 599 / 157

Moving on to step 3:
The number 157 fits into 599 3 times, leaving a remainder of 128.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 471 from 599 and we're left with 128.
Bring next digit (3) of the dividend behind the 128 and repeat the process: 1283 / 157

Let's proceed to step 4:
157 goes into 1283 8 times with a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 38.0
The remainder is 27 after subtracting 1256 from 1283.
Append the next digit (2) from the dividend to 27 and continue with: 272 / 157

On to step 5:
272 divided by 157 is 1 with a remainder of 115.
The number 1 becomes the next digit in our result. 
Result so far: 381.0
Subtracting 157 from 272 leaves us with 115.
Include the next digit (5) from the dividend after 115, then repeat: 1155 / 157

Step 6:
When dividing 1155 by 157, we get 7 with a remainder of 56.
The next digit of our result is 7. 
Result so far: 3817.0
Subtracting 1099 from 1155 leaves us with 56.
Bring next digit (7) of the dividend behind the 56 and repeat the process: 567 / 157

Going ahead to step 7:
157 can be fit into 567 3 times, resulting in a remainder of 96.
Put 3 as the next digit of the answer. 
Result so far: 38173.0
If we take 471 away from 567, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 8:
If we divide 960 by 157, we get 6 and a remainder of 18.
The next digit of our result is 6. 
Result so far: 38173.6
If we take 942 away from 960, we end up 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.

Going ahead to step 9:
157 goes into 180 1 times with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 38173.61
Subtracting 157 from 180 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 10:
If we divide 230 by 157, we get 1 and a remainder of 73.
Use 1 as the next digit of our solution. 
Result so far: 38173.611
If we subtract 157 from 230, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

The quotient of the division is 38173.611, and the remainder is 0.0073.