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

Going ahead to step 1:
3 divided by 45 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 45

Going ahead to step 2:
If we divide 33 by 45, we get 0 and a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Bring next digit (1) of the dividend behind the 33 and repeat the process: 331 / 45

Step 3:
If we divide 331 by 45, we get 7 and a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
The remainder is 16 after subtracting 315 from 331.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 45

On to step 4:
45 goes into 167 3 times with a remainder of 32.
Use 3 as the next digit of our solution. 
Result so far: 73.0
Subtracting 135 from 167 leaves us with 32.
Fetch the next digit (9) from the dividend, attach it to 32 and continue: 329 / 45

Step 5:
When dividing 329 by 45, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 737.0
Subtracting 315 from 329 leaves us with 14.
Bring next digit (1) of the dividend behind the 14 and repeat the process: 141 / 45

Let's proceed to step 6:
45 can be fit into 141 3 times, resulting in a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 7373.0
Subtracting 135 from 141 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
45 goes into 60 1 times with a remainder of 15.
The next digit of our result is 1. 
Result so far: 7373.1
Deduct 45 from 60 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
150 divided by 45 is 3 with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 7373.13
The remainder is 15 after subtracting 135 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
If we divide 150 by 45, we get 3 and a remainder of 15.
The next digit of our result is 3. 
Result so far: 7373.133
Subtract 135 from 150 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Our division results in 7373.133 with a remaining 0.0015.