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

Going ahead to step 1:
If we divide 5 by 37, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 37

Going ahead to step 2:
When dividing 51 by 37, we get 1 with a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 37 away from 51, we end up with 14.
Grab the next digit (0) from the dividend, add it to 14, then carry on: 140 / 37

Advancing to step 3:
37 can be fit into 140 3 times, resulting in a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 13.0
The remainder is 29 after subtracting 111 from 140.
Take the next digit (2) from the dividend and append it to 29, then repeat: 292 / 37

Advancing to step 4:
The number 37 fits into 292 7 times, leaving a remainder of 33.
Put 7 as the next digit of the answer. 
Result so far: 137.0
Subtracting 259 from 292 leaves us with 33.
Grab the next digit (3) from the dividend, add it to 33, then carry on: 333 / 37

Moving on to step 5:
The number 37 fits into 333 9 times, leaving a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 1379.0
Subtract 333 from 333 to get 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 37

Moving on to step 6:
37 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 13790.0
The remainder is 4 after subtracting 0 from 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
40 divided by 37 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 13790.1
Deduct 37 from 40 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
30 divided by 37 is 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 13790.1
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
37 can be fit into 300 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 13790.108
Subtract 296 from 300 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
If we divide 40 by 37, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 13790.1081
The remainder is 3 after subtracting 37 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
37 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 13790.1081
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
The number 37 fits into 300 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 13790.108108
If we take 296 away from 300, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
40 divided by 37 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 13790.1081081
Subtract 37 from 40 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 14:
If we divide 30 by 37, we get 0 and a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 13790.1081081
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 13790.1081081, with a leftover of 3e-08.