We look at the division of 51977 by 37 
We want to divide 51977 by 37.

Advancing to step 1:
The number 37 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 37

On to step 2:
The number 37 fits into 51 1 times, leaving a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 37 from 51, we get 14.
Fetch the next digit (9) from the dividend, attach it to 14 and continue: 149 / 37

Advancing to step 3:
When dividing 149 by 37, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtract 148 from 149 to get 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 37

Advancing to step 4:
If we divide 17 by 37, we get 0 and a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 140.0
Subtract 0 from 17 to get 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 37

Let's proceed to step 5:
37 goes into 177 4 times with a remainder of 29.
Use 4 as the next digit of our solution. 
Result so far: 1404.0
If we subtract 148 from 177, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 6:
290 divided by 37 is 7 with a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 1404.7
Deduct 259 from 290 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
37 goes into 310 8 times with a remainder of 14.
The next digit of our result is 8. 
Result so far: 1404.78
The remainder is 14 after subtracting 296 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
37 goes into 140 3 times with a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 1404.783
Subtracting 111 from 140 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
37 goes into 290 7 times with a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 1404.7837
Subtracting 259 from 290 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 10:
37 can be fit into 310 8 times, resulting in a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 1404.78378
The remainder is 14 after subtracting 296 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
37 goes into 140 3 times with a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 1404.783783
Subtracting 111 from 140 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 12:
37 goes into 290 7 times with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 1404.7837837
Subtract 259 from 290 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 13:
The number 37 fits into 310 8 times, leaving a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 1404.78378378
If we subtract 296 from 310, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 1404.78378378 with a remainder of 1.4e-08.