We divide 504779 by 37
The aim is to understand the frequency of 37 in 504779.

Moving on to step 1:
37 goes into 5 0 times with 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.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 37

Advancing to step 2:
50 divided by 37 is 1 with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 37 away from 50, we end up with 13.
Include the next digit (4) from the dividend after 13, then repeat: 134 / 37

Let's proceed to step 3:
When dividing 134 by 37, we get 3 with a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 111 from 134 leaves us with 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 37

Step 4:
The number 37 fits into 237 6 times, leaving a remainder of 15.
The next digit of our result is 6. 
Result so far: 136.0
If we subtract 222 from 237, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 37

Going ahead to step 5:
The number 37 fits into 157 4 times, leaving a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 1364.0
If we take 148 away from 157, we end up with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 37

On to step 6:
99 divided by 37 is 2 with a remainder of 25.
Use 2 as the next digit of our solution. 
Result so far: 13642.0
Subtract 74 from 99 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 7:
37 goes into 250 6 times with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 13642.6
If we subtract 222 from 250, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 8:
37 can be fit into 280 7 times, resulting in a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 13642.67
If we subtract 259 from 280, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
210 divided by 37 is 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 13642.675
The remainder is 25 after subtracting 185 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 10:
37 goes into 250 6 times with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 13642.6756
The remainder is 28 after subtracting 222 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
37 can be fit into 280 7 times, resulting in a remainder of 21.
The next digit of our result is 7. 
Result so far: 13642.67567
Deduct 259 from 280 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 12:
When dividing 210 by 37, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 13642.675675
The remainder is 25 after subtracting 185 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
When dividing 250 by 37, we get 6 with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 13642.6756756
The remainder is 28 after subtracting 222 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 14:
37 can be fit into 280 7 times, resulting in a remainder of 21.
The next digit of our result is 7. 
Result so far: 13642.67567567
If we subtract 259 from 280, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

After the division, we end up with 13642.67567567 and a remainder of 2.1e-08.