Let's divide 80584262 by 158
We want to divide 80584262 by 158.

Going ahead to step 1:
When dividing 8 by 158, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 158

Step 2:
158 goes into 80 0 times with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 80, we get 80.
Grab the next digit (5) from the dividend, add it to 80, then carry on: 805 / 158

Step 3:
158 can be fit into 805 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 790 from 805 and we're left with 15.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 158

Going ahead to step 4:
158 goes into 158 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 51.0
Subtract 158 from 158 to get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 158

Going ahead to step 5:
4 divided by 158 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 510.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 158

Going ahead to step 6:
42 divided by 158 is 0 with a remainder of 42.
Record the quotient 0 as the next digit in the result. 
Result so far: 5100.0
If we take 0 away from 42, we end up with 42.
Include the next digit (6) from the dividend after 42, then repeat: 426 / 158

Going ahead to step 7:
If we divide 426 by 158, we get 2 and a remainder of 110.
Put 2 as the next digit of the answer. 
Result so far: 51002.0
If we take 316 away from 426, we end up with 110.
Take the next digit (2) from the dividend and append it to 110, then repeat: 1102 / 158

Going ahead to step 8:
158 goes into 1102 6 times with a remainder of 154.
The next digit of our result is 6. 
Result so far: 510026.0
Deduct 948 from 1102 and we're left with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Advancing to step 9:
158 goes into 1540 9 times with a remainder of 118.
Record the quotient 9 as the next digit in the result. 
Result so far: 510026.9
If we take 1422 away from 1540, we end up with 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 10:
If we divide 1180 by 158, we get 7 and a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 510026.97
Deduct 1106 from 1180 and we're left 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.

Advancing to step 11:
If we divide 740 by 158, we get 4 and a remainder of 108.
Use 4 as the next digit of our solution. 
Result so far: 510026.974
Deduct 632 from 740 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 12:
The number 158 fits into 1080 6 times, leaving a remainder of 132.
Use 6 as the next digit of our solution. 
Result so far: 510026.9746
If we subtract 948 from 1080, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Let's proceed to step 13:
When dividing 1320 by 158, we get 8 with a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 510026.97468
If we take 1264 away from 1320, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 14:
158 goes into 560 3 times with a remainder of 86.
The number 3 becomes the next digit in our result. 
Result so far: 510026.974683
Deduct 474 from 560 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Step 15:
158 goes into 860 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 510026.9746835
If we take 790 away from 860, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 16:
158 can be fit into 700 4 times, resulting in a remainder of 68.
The next digit of our result is 4. 
Result so far: 510026.97468354
If we subtract 632 from 700, we 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.

The final result is 510026.97468354 with a remainder of 6.8e-08.