594058 divided by 37 
The aim is to understand the frequency of 37 in 594058.

Step 1:
When dividing 5 by 37, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 37

Step 2:
If we divide 59 by 37, we get 1 and a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 37 from 59, we get 22.
Fetch the next digit (4) from the dividend, attach it to 22 and continue: 224 / 37

Step 3:
If we divide 224 by 37, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtract 222 from 224 to get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 37

Step 4:
20 divided by 37 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 160.0
If we take 0 away from 20, we end up with 20.
Bring next digit (5) of the dividend behind the 20 and repeat the process: 205 / 37

Step 5:
37 can be fit into 205 5 times, resulting in a remainder of 20.
The next digit of our result is 5. 
Result so far: 1605.0
Deduct 185 from 205 and we're left with 20.
Append the next digit (8) from the dividend to 20 and continue with: 208 / 37

Going ahead to step 6:
208 divided by 37 is 5 with a remainder of 23.
Use 5 as the next digit of our solution. 
Result so far: 16055.0
Subtracting 185 from 208 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 7:
230 divided by 37 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 16055.6
If we subtract 222 from 230, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
37 can be fit into 80 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 16055.62
The remainder is 6 after subtracting 74 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
If we divide 60 by 37, we get 1 and a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 16055.621
If we take 37 away from 60, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 10:
230 divided by 37 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 16055.6216
If we subtract 222 from 230, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 11:
The number 37 fits into 80 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 16055.62162
Subtract 74 from 80 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 12:
37 can be fit into 60 1 times, resulting in a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 16055.621621
Deduct 37 from 60 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 13:
The number 37 fits into 230 6 times, leaving a remainder of 8.
The next digit of our result is 6. 
Result so far: 16055.6216216
Subtract 222 from 230 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
If we divide 80 by 37, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 16055.62162162
If we subtract 74 from 80, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 16055.62162162 with a remainder of 6e-09.