Let's divide 51161 by 50
Our goal is to divide 51161 by 50.

On to step 1:
When dividing 5 by 50, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 50

On to step 2:
When dividing 51 by 50, we get 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 1 after subtracting 50 from 51.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 50

Moving on to step 3:
50 goes into 11 0 times with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 11 to get 11.
Take the next digit (6) from the dividend and append it to 11, then repeat: 116 / 50

Advancing to step 4:
50 goes into 116 2 times with a remainder of 16.
The next digit of our result is 2. 
Result so far: 102.0
Subtract 100 from 116 to get 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 50

Step 5:
If we divide 161 by 50, we get 3 and a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 1023.0
Deduct 150 from 161 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 6:
When dividing 110 by 50, we get 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 1023.2
Subtracting 100 from 110 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
50 can be fit into 100 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 1023.22
Deduct 100 from 100 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.

The final result is 1023.22 with a remainder of 0.0.