506141 ÷ 9 
We're looking to find how many times 9 goes into 506141.

Moving on to step 1:
When dividing 5 by 9, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 9

On to step 2:
9 goes into 50 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 45 from 50, we get 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 9

Let's proceed to step 3:
9 can be fit into 56 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 56.0
Deduct 54 from 56 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 9

Advancing to step 4:
21 divided by 9 is 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 562.0
The remainder is 3 after subtracting 18 from 21.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 9

Going ahead to step 5:
The number 9 fits into 34 3 times, leaving a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 5623.0
Deduct 27 from 34 and we're left with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 9

Advancing to step 6:
71 divided by 9 is 7 with a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 56237.0
The remainder is 8 after subtracting 63 from 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
9 can be fit into 80 8 times, resulting in a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 56237.8
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
9 goes into 80 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 56237.88
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 56237.88, and the remainder is 0.008.