We look at the division of 791083 by 37 
The aim is to understand the frequency of 37 in 791083.

Going ahead to step 1:
37 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 37

Moving on to step 2:
37 can be fit into 79 2 times, resulting in a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 5 after subtracting 74 from 79.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 37

Let's proceed to step 3:
The number 37 fits into 51 1 times, leaving a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we subtract 37 from 51, we get 14.
Bring next digit (0) of the dividend behind the 14 and repeat the process: 140 / 37

Advancing to step 4:
The number 37 fits into 140 3 times, leaving a remainder of 29.
The next digit of our result is 3. 
Result so far: 213.0
Subtracting 111 from 140 leaves us with 29.
Take the next digit (8) from the dividend and append it to 29, then repeat: 298 / 37

Going ahead to step 5:
298 divided by 37 is 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 2138.0
If we subtract 296 from 298, we get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 37

Going ahead to step 6:
If we divide 23 by 37, we get 0 and a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 21380.0
Subtract 0 from 23 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 7:
When dividing 230 by 37, we get 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 21380.6
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.

On to step 8:
When dividing 80 by 37, we get 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 21380.62
Subtracting 74 from 80 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 9:
When dividing 60 by 37, we get 1 with a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 21380.621
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 10:
37 can be fit into 230 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 21380.6216
Subtracting 222 from 230 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 11:
80 divided by 37 is 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 21380.62162
Deduct 74 from 80 and we're left with 6.
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 12:
The number 37 fits into 60 1 times, leaving a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 21380.621621
Subtract 37 from 60 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 13:
The number 37 fits into 230 6 times, leaving a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 21380.6216216
Subtracting 222 from 230 leaves us with 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:
37 goes into 80 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 21380.62162162
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.

The final outcome is 21380.62162162, with a leftover of 6e-09.