Let's divide 51570717 by 158
We're looking to find how many times 158 goes into 51570717.

Let's proceed to step 1:
When dividing 5 by 158, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 158

Moving on to step 2:
The number 158 fits into 51 0 times, leaving a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Fetch the next digit (5) from the dividend, attach it to 51 and continue: 515 / 158

Going ahead to step 3:
515 divided by 158 is 3 with a remainder of 41.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 474 from 515 to get 41.
Fetch the next digit (7) from the dividend, attach it to 41 and continue: 417 / 158

Going ahead to step 4:
The number 158 fits into 417 2 times, leaving a remainder of 101.
The number 2 becomes the next digit in our result. 
Result so far: 32.0
The remainder is 101 after subtracting 316 from 417.
Include the next digit (0) from the dividend after 101, then repeat: 1010 / 158

Let's proceed to step 5:
The number 158 fits into 1010 6 times, leaving a remainder of 62.
Record the quotient 6 as the next digit in the result. 
Result so far: 326.0
If we take 948 away from 1010, we end up with 62.
Fetch the next digit (7) from the dividend, attach it to 62 and continue: 627 / 158

On to step 6:
158 goes into 627 3 times with a remainder of 153.
Put 3 as the next digit of the answer. 
Result so far: 3263.0
If we take 474 away from 627, we end up with 153.
Include the next digit (1) from the dividend after 153, then repeat: 1531 / 158

Advancing to step 7:
1531 divided by 158 is 9 with a remainder of 109.
Use 9 as the next digit of our solution. 
Result so far: 32639.0
Subtract 1422 from 1531 to get 109.
Include the next digit (7) from the dividend after 109, then repeat: 1097 / 158

On to step 8:
The number 158 fits into 1097 6 times, leaving a remainder of 149.
Record the quotient 6 as the next digit in the result. 
Result so far: 326396.0
Subtracting 948 from 1097 leaves us with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Moving on to step 9:
The number 158 fits into 1490 9 times, leaving a remainder of 68.
Use 9 as the next digit of our solution. 
Result so far: 326396.9
Subtract 1422 from 1490 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 10:
158 can be fit into 680 4 times, resulting in a remainder of 48.
Put 4 as the next digit of the answer. 
Result so far: 326396.94
Deduct 632 from 680 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 11:
If we divide 480 by 158, we get 3 and a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 326396.943
If we take 474 away from 480, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
60 divided by 158 is 0 with a remainder of 60.
The next digit of our result is 0. 
Result so far: 326396.943
If we subtract 0 from 60, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 13:
158 goes into 600 3 times with a remainder of 126.
Put 3 as the next digit of the answer. 
Result so far: 326396.94303
If we take 474 away from 600, we end up with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Let's proceed to step 14:
If we divide 1260 by 158, we get 7 and a remainder of 154.
Write down 7 as next digit of the result. 
Result so far: 326396.943037
If we subtract 1106 from 1260, we get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Step 15:
158 can be fit into 1540 9 times, resulting in a remainder of 118.
The number 9 becomes the next digit in our result. 
Result so far: 326396.9430379
Subtract 1422 from 1540 to get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Moving on to step 16:
The number 158 fits into 1180 7 times, leaving a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 326396.94303797
If we take 1106 away from 1180, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Our division results in 326396.94303797 with a remaining 7.4e-08.