540803 ÷ 37 
The aim is to understand the frequency of 37 in 540803.

Advancing to step 1:
When dividing 5 by 37, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 37

Advancing to step 2:
The number 37 fits into 54 1 times, leaving a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 37 from 54 leaves us with 17.
Grab the next digit (0) from the dividend, add it to 17, then carry on: 170 / 37

Advancing to step 3:
When dividing 170 by 37, we get 4 with a remainder of 22.
The next digit of our result is 4. 
Result so far: 14.0
Subtracting 148 from 170 leaves us with 22.
Bring next digit (8) of the dividend behind the 22 and repeat the process: 228 / 37

Let's proceed to step 4:
When dividing 228 by 37, we get 6 with a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 146.0
Subtracting 222 from 228 leaves us with 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 37

Step 5:
37 goes into 60 1 times with a remainder of 23.
The next digit of our result is 1. 
Result so far: 1461.0
The remainder is 23 after subtracting 37 from 60.
Include the next digit (3) from the dividend after 23, then repeat: 233 / 37

Going ahead to step 6:
When dividing 233 by 37, we get 6 with a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 14616.0
The remainder is 11 after subtracting 222 from 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
When dividing 110 by 37, we get 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 14616.2
The remainder is 36 after subtracting 74 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
360 divided by 37 is 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 14616.29
Subtracting 333 from 360 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 9:
When dividing 270 by 37, we get 7 with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 14616.297
The remainder is 11 after subtracting 259 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 10:
37 goes into 110 2 times with a remainder of 36.
The next digit of our result is 2. 
Result so far: 14616.2972
Subtracting 74 from 110 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 11:
360 divided by 37 is 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 14616.29729
Subtract 333 from 360 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 12:
The number 37 fits into 270 7 times, leaving a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 14616.297297
The remainder is 11 after subtracting 259 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 13:
37 goes into 110 2 times with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 14616.2972972
The remainder is 36 after subtracting 74 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 14:
37 can be fit into 360 9 times, resulting in a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 14616.29729729
The remainder is 27 after subtracting 333 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The quotient of the division is 14616.29729729, and the remainder is 2.7e-08.