Let's divide 45771 by 37
We want to divide 45771 by 37.

Moving on to step 1:
37 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 37

Moving on to step 2:
45 divided by 37 is 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 37 away from 45, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 37

Let's proceed to step 3:
87 divided by 37 is 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtract 74 from 87 to get 13.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 37

Going ahead to step 4:
37 goes into 137 3 times with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 123.0
If we take 111 away from 137, we end up with 26.
Append the next digit (1) from the dividend to 26 and continue with: 261 / 37

Advancing to step 5:
261 divided by 37 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 1237.0
Subtract 259 from 261 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 6:
If we divide 20 by 37, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 1237.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
37 can be fit into 200 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 1237.05
If we take 185 away from 200, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 8:
37 can be fit into 150 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 1237.054
If we subtract 148 from 150, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

Let's proceed to step 10:
If we divide 200 by 37, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 1237.05405
Subtracting 185 from 200 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 11:
150 divided by 37 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 1237.054054
The remainder is 2 after subtracting 148 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 12:
37 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 1237.054054
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 13:
37 goes into 200 5 times with a remainder of 15.
The next digit of our result is 5. 
Result so far: 1237.05405405
Subtract 185 from 200 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 1237.05405405, with a leftover of 1.5e-08.