We divide 331047 by 45
We're looking to find how many times 45 goes into 331047.

Going ahead to step 1:
3 divided by 45 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 45

Step 2:
The number 45 fits into 33 0 times, leaving a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Include the next digit (1) from the dividend after 33, then repeat: 331 / 45

Advancing to step 3:
If we divide 331 by 45, we get 7 and a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 315 from 331 to get 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 45

Let's proceed to step 4:
160 divided by 45 is 3 with a remainder of 25.
Use 3 as the next digit of our solution. 
Result so far: 73.0
If we subtract 135 from 160, we get 25.
Include the next digit (4) from the dividend after 25, then repeat: 254 / 45

On to step 5:
254 divided by 45 is 5 with a remainder of 29.
The next digit of our result is 5. 
Result so far: 735.0
Subtract 225 from 254 to get 29.
Include the next digit (7) from the dividend after 29, then repeat: 297 / 45

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

Going ahead to step 7:
270 divided by 45 is 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 7356.6
Subtracting 270 from 270 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
If we divide 0 by 45, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 7356.6
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
The number 45 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 7356.6
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 7356.6 and a remainder of 0.0.