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

On to step 1:
If we divide 3 by 37, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 37

Going ahead to step 2:
If we divide 34 by 37, we get 0 and a remainder of 34.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 34, we get 34.
Bring next digit (0) of the dividend behind the 34 and repeat the process: 340 / 37

Moving on to step 3:
37 can be fit into 340 9 times, resulting in a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 333 from 340 to get 7.
Bring next digit (5) of the dividend behind the 7 and repeat the process: 75 / 37

Step 4:
The number 37 fits into 75 2 times, leaving a remainder of 1.
The next digit of our result is 2. 
Result so far: 92.0
Deduct 74 from 75 and we're left with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 37

Step 5:
If we divide 12 by 37, we get 0 and a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 920.0
If we subtract 0 from 12, we get 12.
Bring next digit (0) of the dividend behind the 12 and repeat the process: 120 / 37

Step 6:
37 goes into 120 3 times with a remainder of 9.
The next digit of our result is 3. 
Result so far: 9203.0
The remainder is 9 after subtracting 111 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
90 divided by 37 is 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 9203.2
The remainder is 16 after subtracting 74 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
37 goes into 160 4 times with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 9203.24
If we subtract 148 from 160, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 9:
37 can be fit into 120 3 times, resulting in a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 9203.243
Subtract 111 from 120 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 10:
When dividing 90 by 37, we get 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 9203.2432
Subtract 74 from 90 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
160 divided by 37 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 9203.24324
The remainder is 12 after subtracting 148 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 12:
The number 37 fits into 120 3 times, leaving a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 9203.243243
The remainder is 9 after subtracting 111 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
37 can be fit into 90 2 times, resulting in a remainder of 16.
The next digit of our result is 2. 
Result so far: 9203.2432432
If we subtract 74 from 90, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
160 divided by 37 is 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 9203.24324324
The remainder is 12 after subtracting 148 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 9203.24324324, and the remainder is 1.2e-08.