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

Going ahead to step 1:
When dividing 3 by 37, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 37

On to step 2:
37 goes into 33 0 times with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Fetch the next digit (5) from the dividend, attach it to 33 and continue: 335 / 37

Going ahead to step 3:
37 goes into 335 9 times with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 333 from 335, we get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 37

Step 4:
37 can be fit into 25 0 times, resulting in a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 90.0
Deduct 0 from 25 and we're left with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 37

Let's proceed to step 5:
37 goes into 256 6 times with a remainder of 34.
Write down 6 as next digit of the result. 
Result so far: 906.0
Subtract 222 from 256 to get 34.
Grab the next digit (6) from the dividend, add it to 34, then carry on: 346 / 37

Let's proceed to step 6:
346 divided by 37 is 9 with a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 9069.0
Subtracting 333 from 346 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
The number 37 fits into 130 3 times, leaving a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 9069.3
The remainder is 19 after subtracting 111 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 8:
37 can be fit into 190 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 9069.35
If we subtract 185 from 190, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
50 divided by 37 is 1 with a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 9069.351
If we subtract 37 from 50, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 10:
If we divide 130 by 37, we get 3 and a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 9069.3513
Deduct 111 from 130 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 11:
37 can be fit into 190 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 9069.35135
If we take 185 away from 190, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 12:
37 goes into 50 1 times with a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 9069.351351
The remainder is 13 after subtracting 37 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 13:
130 divided by 37 is 3 with a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 9069.3513513
The remainder is 19 after subtracting 111 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 14:
The number 37 fits into 190 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 9069.35135135
Subtract 185 from 190 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 9069.35135135 with a remaining 5e-09.