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

Let's proceed to step 1:
When dividing 1 by 37, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 37

Moving on to step 2:
37 goes into 16 0 times with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Bring next digit (1) of the dividend behind the 16 and repeat the process: 161 / 37

Moving on to step 3:
161 divided by 37 is 4 with a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 148 from 161 leaves us with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 37

On to step 4:
The number 37 fits into 139 3 times, leaving a remainder of 28.
The next digit of our result is 3. 
Result so far: 43.0
If we take 111 away from 139, we end up with 28.
Fetch the next digit (5) from the dividend, attach it to 28 and continue: 285 / 37

Step 5:
37 goes into 285 7 times with a remainder of 26.
The next digit of our result is 7. 
Result so far: 437.0
Deduct 259 from 285 and we're left with 26.
Take the next digit (0) from the dividend and append it to 26, then repeat: 260 / 37

Let's proceed to step 6:
When dividing 260 by 37, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 4377.0
Subtracting 259 from 260 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
The number 37 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 4377.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
37 goes into 100 2 times with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 4377.02
If we subtract 74 from 100, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 9:
37 goes into 260 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 4377.027
The remainder is 1 after subtracting 259 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 10:
When dividing 10 by 37, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 4377.027
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 11:
When dividing 100 by 37, we get 2 with a remainder of 26.
The next digit of our result is 2. 
Result so far: 4377.02702
If we subtract 74 from 100, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 12:
The number 37 fits into 260 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 4377.027027
Subtract 259 from 260 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 13:
37 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 4377.027027
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
If we divide 100 by 37, we get 2 and a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 4377.02702702
Subtract 74 from 100 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The quotient of the division is 4377.02702702, and the remainder is 2.6e-08.