We're dividing 5084760 by 158 
We want to divide 5084760 by 158.

Advancing to step 1:
If we divide 5 by 158, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 158

Step 2:
158 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Include the next digit (8) from the dividend after 50, then repeat: 508 / 158

Advancing to step 3:
508 divided by 158 is 3 with a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 474 from 508 to get 34.
Grab the next digit (4) from the dividend, add it to 34, then carry on: 344 / 158

Moving on to step 4:
158 can be fit into 344 2 times, resulting in a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
Deduct 316 from 344 and we're left with 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 158

Step 5:
When dividing 287 by 158, we get 1 with a remainder of 129.
The number 1 becomes the next digit in our result. 
Result so far: 321.0
The remainder is 129 after subtracting 158 from 287.
Include the next digit (6) from the dividend after 129, then repeat: 1296 / 158

Moving on to step 6:
158 can be fit into 1296 8 times, resulting in a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 3218.0
If we take 1264 away from 1296, we end up with 32.
Fetch the next digit (0) from the dividend, attach it to 32 and continue: 320 / 158

Advancing to step 7:
When dividing 320 by 158, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 32182.0
Subtracting 316 from 320 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
158 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 32182.0
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 9:
158 goes into 400 2 times with a remainder of 84.
The next digit of our result is 2. 
Result so far: 32182.02
The remainder is 84 after subtracting 316 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 10:
If we divide 840 by 158, we get 5 and a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 32182.025
Deduct 790 from 840 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 11:
158 goes into 500 3 times with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 32182.0253
If we subtract 474 from 500, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
If we divide 260 by 158, we get 1 and a remainder of 102.
The number 1 becomes the next digit in our result. 
Result so far: 32182.02531
Subtract 158 from 260 to get 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Moving on to step 13:
158 goes into 1020 6 times with a remainder of 72.
Use 6 as the next digit of our solution. 
Result so far: 32182.025316
Deduct 948 from 1020 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 14:
The number 158 fits into 720 4 times, leaving a remainder of 88.
Use 4 as the next digit of our solution. 
Result so far: 32182.0253164
If we subtract 632 from 720, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 15:
When dividing 880 by 158, we get 5 with a remainder of 90.
Write down 5 as next digit of the result. 
Result so far: 32182.02531645
Subtract 790 from 880 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

The quotient of the division is 32182.02531645, and the remainder is 9e-08.