We look at the division of 23122171 by 506 
We want to divide 23122171 by 506.

Going ahead to step 1:
2 divided by 506 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 506

Advancing to step 2:
506 can be fit into 23 0 times, resulting in a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 23, we end up with 23.
Append the next digit (1) from the dividend to 23 and continue with: 231 / 506

Moving on to step 3:
231 divided by 506 is 0 with a remainder of 231.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 231 to get 231.
Append the next digit (2) from the dividend to 231 and continue with: 2312 / 506

Let's proceed to step 4:
506 can be fit into 2312 4 times, resulting in a remainder of 288.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 2024 from 2312 leaves us with 288.
Fetch the next digit (2) from the dividend, attach it to 288 and continue: 2882 / 506

Let's proceed to step 5:
2882 divided by 506 is 5 with a remainder of 352.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
If we take 2530 away from 2882, we end up with 352.
Append the next digit (1) from the dividend to 352 and continue with: 3521 / 506

Moving on to step 6:
506 can be fit into 3521 6 times, resulting in a remainder of 485.
Record the quotient 6 as the next digit in the result. 
Result so far: 456.0
If we take 3036 away from 3521, we end up with 485.
Take the next digit (7) from the dividend and append it to 485, then repeat: 4857 / 506

On to step 7:
The number 506 fits into 4857 9 times, leaving a remainder of 303.
Write down 9 as next digit of the result. 
Result so far: 4569.0
The remainder is 303 after subtracting 4554 from 4857.
Take the next digit (1) from the dividend and append it to 303, then repeat: 3031 / 506

Going ahead to step 8:
506 goes into 3031 5 times with a remainder of 501.
Put 5 as the next digit of the answer. 
Result so far: 45695.0
If we take 2530 away from 3031, we end up with 501.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5010, and continue the process.

Advancing to step 9:
The number 506 fits into 5010 9 times, leaving a remainder of 456.
Record the quotient 9 as the next digit in the result. 
Result so far: 45695.9
Deduct 4554 from 5010 and we're left with 456.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

Advancing to step 10:
When dividing 4560 by 506, we get 9 with a remainder of 6.
The next digit of our result is 9. 
Result so far: 45695.99
The remainder is 6 after subtracting 4554 from 4560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 45695.99, with a leftover of 0.006.