822785 divided by 45 
We're looking to find how many times 45 goes into 822785.

Advancing to step 1:
8 divided by 45 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 45

On to step 2:
45 can be fit into 82 1 times, resulting in a remainder of 37.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 45 from 82 and we're left with 37.
Bring next digit (2) of the dividend behind the 37 and repeat the process: 372 / 45

Let's proceed to step 3:
When dividing 372 by 45, we get 8 with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Subtract 360 from 372 to get 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 45

Going ahead to step 4:
45 can be fit into 127 2 times, resulting in a remainder of 37.
Write down 2 as next digit of the result. 
Result so far: 182.0
Deduct 90 from 127 and we're left with 37.
Grab the next digit (8) from the dividend, add it to 37, then carry on: 378 / 45

Step 5:
45 goes into 378 8 times with a remainder of 18.
Record the quotient 8 as the next digit in the result. 
Result so far: 1828.0
Subtract 360 from 378 to get 18.
Take the next digit (5) from the dividend and append it to 18, then repeat: 185 / 45

Let's proceed to step 6:
45 goes into 185 4 times with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 18284.0
If we subtract 180 from 185, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
When dividing 50 by 45, we get 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 18284.1
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
45 can be fit into 50 1 times, resulting in a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 18284.11
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 18284.11, and the remainder is 0.005.