510166 ÷ 37 
Let's see how many times 37 fits into 510166.

Let's proceed to step 1:
If we divide 5 by 37, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 37

Moving on to step 2:
If we divide 51 by 37, we get 1 and a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 37 from 51 leaves us with 14.
Bring next digit (0) of the dividend behind the 14 and repeat the process: 140 / 37

Let's proceed to step 3:
37 can be fit into 140 3 times, resulting in a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we take 111 away from 140, we end up with 29.
Fetch the next digit (1) from the dividend, attach it to 29 and continue: 291 / 37

On to step 4:
When dividing 291 by 37, we get 7 with a remainder of 32.
The number 7 becomes the next digit in our result. 
Result so far: 137.0
Subtract 259 from 291 to get 32.
Append the next digit (6) from the dividend to 32 and continue with: 326 / 37

Advancing to step 5:
326 divided by 37 is 8 with a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 1378.0
If we take 296 away from 326, we end up with 30.
Fetch the next digit (6) from the dividend, attach it to 30 and continue: 306 / 37

Step 6:
The number 37 fits into 306 8 times, leaving a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 13788.0
Subtract 296 from 306 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 7:
37 goes into 100 2 times with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 13788.2
If we subtract 74 from 100, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 8:
37 can be fit into 260 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 13788.27
If we take 259 away from 260, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 9:
37 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 13788.27
Deduct 0 from 10 and we're left 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.

Advancing to step 10:
If we divide 100 by 37, we get 2 and a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 13788.2702
Subtract 74 from 100 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 11:
37 goes into 260 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 13788.27027
If we take 259 away from 260, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
The number 37 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 13788.27027
Subtract 0 from 10 to get 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 13:
When dividing 100 by 37, we get 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 13788.2702702
If we subtract 74 from 100, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 14:
If we divide 260 by 37, we get 7 and a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 13788.27027027
If we subtract 259 from 260, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 13788.27027027 with a remainder of 1e-09.