We're dividing 838497 by 37 
The aim is to understand the frequency of 37 in 838497.

Moving on to step 1:
37 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Grab the next digit (3) from the dividend, add it to 8, then carry on: 83 / 37

Let's proceed to step 2:
The number 37 fits into 83 2 times, leaving a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 74 from 83, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 37

Let's proceed to step 3:
98 divided by 37 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
Deduct 74 from 98 and we're left with 24.
Bring next digit (4) of the dividend behind the 24 and repeat the process: 244 / 37

Going ahead to step 4:
When dividing 244 by 37, we get 6 with a remainder of 22.
Record the quotient 6 as the next digit in the result. 
Result so far: 226.0
If we take 222 away from 244, we end up with 22.
Append the next digit (9) from the dividend to 22 and continue with: 229 / 37

Moving on to step 5:
37 can be fit into 229 6 times, resulting in a remainder of 7.
Write down 6 as next digit of the result. 
Result so far: 2266.0
The remainder is 7 after subtracting 222 from 229.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 37

On to step 6:
If we divide 77 by 37, we get 2 and a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 22662.0
Deduct 74 from 77 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.

Advancing to step 7:
30 divided by 37 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 22662.0
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
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: 22662.08
If we subtract 296 from 300, we 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.

Let's proceed to step 9:
If we divide 40 by 37, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 22662.081
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 10:
37 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 22662.081
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.

On to step 11:
37 goes into 300 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 22662.08108
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.

Step 12:
37 goes into 40 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 22662.081081
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.

Moving on to step 13:
When dividing 30 by 37, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 22662.081081
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.

Let's proceed to step 14:
When dividing 300 by 37, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 22662.08108108
Deduct 296 from 300 and we're left 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.

The final result is 22662.08108108 with a remainder of 4e-09.