31546257 divided by 822 
We're looking to find how many times 822 goes into 31546257.

Step 1:
822 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 822

Going ahead to step 2:
822 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 822

On to step 3:
822 goes into 315 0 times with a remainder of 315.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 315 after subtracting 0 from 315.
Take the next digit (4) from the dividend and append it to 315, then repeat: 3154 / 822

Moving on to step 4:
When dividing 3154 by 822, we get 3 with a remainder of 688.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 2466 away from 3154, we end up with 688.
Include the next digit (6) from the dividend after 688, then repeat: 6886 / 822

Advancing to step 5:
The number 822 fits into 6886 8 times, leaving a remainder of 310.
The next digit of our result is 8. 
Result so far: 38.0
The remainder is 310 after subtracting 6576 from 6886.
Include the next digit (2) from the dividend after 310, then repeat: 3102 / 822

Going ahead to step 6:
When dividing 3102 by 822, we get 3 with a remainder of 636.
Use 3 as the next digit of our solution. 
Result so far: 383.0
If we subtract 2466 from 3102, we get 636.
Include the next digit (5) from the dividend after 636, then repeat: 6365 / 822

On to step 7:
When dividing 6365 by 822, we get 7 with a remainder of 611.
The number 7 becomes the next digit in our result. 
Result so far: 3837.0
The remainder is 611 after subtracting 5754 from 6365.
Fetch the next digit (7) from the dividend, attach it to 611 and continue: 6117 / 822

Let's proceed to step 8:
When dividing 6117 by 822, we get 7 with a remainder of 363.
The number 7 becomes the next digit in our result. 
Result so far: 38377.0
Subtract 5754 from 6117 to get 363.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3630, and continue the process.

Moving on to step 9:
If we divide 3630 by 822, we get 4 and a remainder of 342.
The number 4 becomes the next digit in our result. 
Result so far: 38377.4
If we subtract 3288 from 3630, we get 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Going ahead to step 10:
If we divide 3420 by 822, we get 4 and a remainder of 132.
Record the quotient 4 as the next digit in the result. 
Result so far: 38377.44
If we subtract 3288 from 3420, 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.

The final result is 38377.44 with a remainder of 0.132.