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

Advancing to step 1:
3 divided by 37 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 37

Moving on to step 2:
34 divided by 37 is 0 with a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Bring next digit (8) of the dividend behind the 34 and repeat the process: 348 / 37

Advancing to step 3:
The number 37 fits into 348 9 times, leaving a remainder of 15.
The next digit of our result is 9. 
Result so far: 9.0
Subtracting 333 from 348 leaves us with 15.
Include the next digit (5) from the dividend after 15, then repeat: 155 / 37

Moving on to step 4:
The number 37 fits into 155 4 times, leaving a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 94.0
The remainder is 7 after subtracting 148 from 155.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 37

Advancing to step 5:
37 can be fit into 79 2 times, resulting in a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 942.0
Subtract 74 from 79 to get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 37

Moving on to step 6:
57 divided by 37 is 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 9421.0
If we subtract 37 from 57, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 7:
If we divide 200 by 37, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 9421.5
If we subtract 185 from 200, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 8:
The number 37 fits into 150 4 times, leaving a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 9421.54
Deduct 148 from 150 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
The number 37 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 9421.54
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
37 can be fit into 200 5 times, resulting in a remainder of 15.
The next digit of our result is 5. 
Result so far: 9421.5405
The remainder is 15 after subtracting 185 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
The number 37 fits into 150 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 9421.54054
The remainder is 2 after subtracting 148 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 12:
If we divide 20 by 37, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 9421.54054
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 13:
200 divided by 37 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 9421.5405405
Deduct 185 from 200 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 14:
If we divide 150 by 37, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 9421.54054054
If we take 148 away from 150, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 9421.54054054, and the remainder is 2e-09.