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

Moving on to step 1:
When dividing 9 by 37, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 37

Let's proceed to step 2:
If we divide 91 by 37, we get 2 and a remainder of 17.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 17 after subtracting 74 from 91.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 37

Step 3:
37 can be fit into 177 4 times, resulting in a remainder of 29.
The next digit of our result is 4. 
Result so far: 24.0
The remainder is 29 after subtracting 148 from 177.
Append the next digit (2) from the dividend to 29 and continue with: 292 / 37

On to step 4:
37 goes into 292 7 times with a remainder of 33.
Use 7 as the next digit of our solution. 
Result so far: 247.0
Deduct 259 from 292 and we're left with 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 37

Step 5:
331 divided by 37 is 8 with a remainder of 35.
Use 8 as the next digit of our solution. 
Result so far: 2478.0
The remainder is 35 after subtracting 296 from 331.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 37

Moving on to step 6:
358 divided by 37 is 9 with a remainder of 25.
Put 9 as the next digit of the answer. 
Result so far: 24789.0
The remainder is 25 after subtracting 333 from 358.
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:
When dividing 250 by 37, we get 6 with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 24789.6
Deduct 222 from 250 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
37 goes into 280 7 times with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 24789.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.

On to step 9:
When dividing 210 by 37, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 24789.675
Subtract 185 from 210 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.

Moving on to step 10:
37 can be fit into 250 6 times, resulting in a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 24789.6756
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.

Moving on to step 11:
The number 37 fits into 280 7 times, leaving a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 24789.67567
Subtract 259 from 280 to 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 12:
37 can be fit into 210 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 24789.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.

Going ahead to step 13:
37 goes into 250 6 times with a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 24789.6756756
Subtract 222 from 250 to 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.

Going ahead to step 14:
37 goes into 280 7 times with a remainder of 21.
The next digit of our result is 7. 
Result so far: 24789.67567567
Subtract 259 from 280 to 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.

The final result is 24789.67567567 with a remainder of 2.1e-08.