We're dividing 51197 by 1 
We want to divide 51197 by 1.

Let's proceed to step 1:
When dividing 5 by 1, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 5 away from 5, we end up with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 1

Let's proceed to step 2:
1 divided by 1 is 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
If we subtract 1 from 1, we get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 1

Going ahead to step 3:
1 divided by 1 is 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 511.0
Deduct 1 from 1 and we're left with 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 1

On to step 4:
9 divided by 1 is 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 5119.0
Subtracting 9 from 9 leaves us with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 1

Moving on to step 5:
1 can be fit into 7 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 51197.0
If we take 7 away from 7, we end up 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.

Moving on to step 6:
1 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 51197.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
1 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 51197.0
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.

The quotient of the division is 51197.0, and the remainder is 0.0.