Let's divide 511298 by 37
The aim is to understand the frequency of 37 in 511298.

Going ahead to step 1:
The number 37 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 37

On to step 2:
If we divide 51 by 37, we get 1 and a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 37 from 51 to get 14.
Bring next digit (1) of the dividend behind the 14 and repeat the process: 141 / 37

Let's proceed to step 3:
When dividing 141 by 37, we get 3 with a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Deduct 111 from 141 and we're left with 30.
Fetch the next digit (2) from the dividend, attach it to 30 and continue: 302 / 37

Going ahead to step 4:
302 divided by 37 is 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 138.0
Subtract 296 from 302 to get 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 37

Step 5:
69 divided by 37 is 1 with a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 1381.0
The remainder is 32 after subtracting 37 from 69.
Bring next digit (8) of the dividend behind the 32 and repeat the process: 328 / 37

Step 6:
If we divide 328 by 37, we get 8 and a remainder of 32.
Use 8 as the next digit of our solution. 
Result so far: 13818.0
If we subtract 296 from 328, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 7:
320 divided by 37 is 8 with a remainder of 24.
The next digit of our result is 8. 
Result so far: 13818.8
Deduct 296 from 320 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 8:
37 goes into 240 6 times with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 13818.86
Deduct 222 from 240 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 9:
If we divide 180 by 37, we get 4 and a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 13818.864
Subtract 148 from 180 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 10:
320 divided by 37 is 8 with a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 13818.8648
If we take 296 away from 320, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 11:
37 goes into 240 6 times with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 13818.86486
If we subtract 222 from 240, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
If we divide 180 by 37, we get 4 and a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 13818.864864
The remainder is 32 after subtracting 148 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 13:
320 divided by 37 is 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 13818.8648648
Deduct 296 from 320 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 14:
The number 37 fits into 240 6 times, leaving a remainder of 18.
Record the quotient 6 as the next digit in the result. 
Result so far: 13818.86486486
Subtract 222 from 240 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 13818.86486486, with a leftover of 1.8e-08.