Let's divide 158540 by 82
We want to figure out the number of times 158540 can be divided by 82.

Let's proceed to step 1:
When dividing 1 by 82, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 82

Advancing to step 2:
The number 82 fits into 15 0 times, leaving a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 82

Let's proceed to step 3:
When dividing 158 by 82, we get 1 with a remainder of 76.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 76 after subtracting 82 from 158.
Grab the next digit (5) from the dividend, add it to 76, then carry on: 765 / 82

Going ahead to step 4:
82 can be fit into 765 9 times, resulting in a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 738 from 765 to get 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 82

Moving on to step 5:
If we divide 274 by 82, we get 3 and a remainder of 28.
The next digit of our result is 3. 
Result so far: 193.0
Deduct 246 from 274 and we're left with 28.
Include the next digit (0) from the dividend after 28, then repeat: 280 / 82

Moving on to step 6:
The number 82 fits into 280 3 times, leaving a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 1933.0
Deduct 246 from 280 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
If we divide 340 by 82, we get 4 and a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 1933.4
If we take 328 away from 340, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
120 divided by 82 is 1 with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 1933.41
If we subtract 82 from 120, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 9:
If we divide 380 by 82, we get 4 and a remainder of 52.
Use 4 as the next digit of our solution. 
Result so far: 1933.414
Subtract 328 from 380 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 10:
When dividing 520 by 82, we get 6 with a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 1933.4146
Deduct 492 from 520 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 11:
When dividing 280 by 82, we get 3 with a remainder of 34.
The next digit of our result is 3. 
Result so far: 1933.41463
The remainder is 34 after subtracting 246 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 12:
If we divide 340 by 82, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 1933.414634
If we take 328 away from 340, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
If we divide 120 by 82, we get 1 and a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 1933.4146341
Subtract 82 from 120 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 14:
When dividing 380 by 82, we get 4 with a remainder of 52.
Put 4 as the next digit of the answer. 
Result so far: 1933.41463414
If we subtract 328 from 380, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 1933.41463414 and a remainder of 5.2e-08.