We look at the division of 37478997 by 227 
The aim is to understand the frequency of 227 in 37478997.

Step 1:
The number 227 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 227

Advancing to step 2:
If we divide 37 by 227, we get 0 and a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 37, we get 37.
Bring next digit (4) of the dividend behind the 37 and repeat the process: 374 / 227

Moving on to step 3:
The number 227 fits into 374 1 times, leaving a remainder of 147.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 227 away from 374, we end up with 147.
Take the next digit (7) from the dividend and append it to 147, then repeat: 1477 / 227

Going ahead to step 4:
1477 divided by 227 is 6 with a remainder of 115.
The next digit of our result is 6. 
Result so far: 16.0
If we subtract 1362 from 1477, we get 115.
Append the next digit (8) from the dividend to 115 and continue with: 1158 / 227

Step 5:
1158 divided by 227 is 5 with a remainder of 23.
The next digit of our result is 5. 
Result so far: 165.0
The remainder is 23 after subtracting 1135 from 1158.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 227

On to step 6:
The number 227 fits into 239 1 times, leaving a remainder of 12.
The next digit of our result is 1. 
Result so far: 1651.0
Subtracting 227 from 239 leaves us with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 227

Moving on to step 7:
129 divided by 227 is 0 with a remainder of 129.
The next digit of our result is 0. 
Result so far: 16510.0
The remainder is 129 after subtracting 0 from 129.
Fetch the next digit (7) from the dividend, attach it to 129 and continue: 1297 / 227

Step 8:
The number 227 fits into 1297 5 times, leaving a remainder of 162.
Put 5 as the next digit of the answer. 
Result so far: 165105.0
If we subtract 1135 from 1297, we get 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Step 9:
227 can be fit into 1620 7 times, resulting in a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 165105.7
If we take 1589 away from 1620, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 10:
310 divided by 227 is 1 with a remainder of 83.
Use 1 as the next digit of our solution. 
Result so far: 165105.71
If we subtract 227 from 310, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 11:
227 goes into 830 3 times with a remainder of 149.
Record the quotient 3 as the next digit in the result. 
Result so far: 165105.713
Subtract 681 from 830 to get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Advancing to step 12:
1490 divided by 227 is 6 with a remainder of 128.
Write down 6 as next digit of the result. 
Result so far: 165105.7136
If we take 1362 away from 1490, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 13:
227 can be fit into 1280 5 times, resulting in a remainder of 145.
Record the quotient 5 as the next digit in the result. 
Result so far: 165105.71365
Deduct 1135 from 1280 and we're left with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

On to step 14:
When dividing 1450 by 227, we get 6 with a remainder of 88.
Use 6 as the next digit of our solution. 
Result so far: 165105.713656
The remainder is 88 after subtracting 1362 from 1450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 15:
880 divided by 227 is 3 with a remainder of 199.
Record the quotient 3 as the next digit in the result. 
Result so far: 165105.7136563
Subtract 681 from 880 to get 199.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Advancing to step 16:
227 goes into 1990 8 times with a remainder of 174.
The next digit of our result is 8. 
Result so far: 165105.71365638
If we subtract 1816 from 1990, we get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

The final result is 165105.71365638 with a remainder of 1.74e-07.