We look at the division of 145097 by 47 
The aim is to understand the frequency of 47 in 145097.

Going ahead to step 1:
When dividing 1 by 47, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 47

Step 2:
14 divided by 47 is 0 with a remainder of 14.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 14 and we're left with 14.
Append the next digit (5) from the dividend to 14 and continue with: 145 / 47

Step 3:
47 goes into 145 3 times with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 141 from 145 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 47

Moving on to step 4:
The number 47 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 30.0
If we subtract 0 from 40, we get 40.
Bring next digit (9) of the dividend behind the 40 and repeat the process: 409 / 47

On to step 5:
47 can be fit into 409 8 times, resulting in a remainder of 33.
Use 8 as the next digit of our solution. 
Result so far: 308.0
If we subtract 376 from 409, we get 33.
Append the next digit (7) from the dividend to 33 and continue with: 337 / 47

Step 6:
When dividing 337 by 47, we get 7 with a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 3087.0
The remainder is 8 after subtracting 329 from 337.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
The number 47 fits into 80 1 times, leaving a remainder of 33.
The next digit of our result is 1. 
Result so far: 3087.1
If we take 47 away from 80, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 8:
330 divided by 47 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 3087.17
The remainder is 1 after subtracting 329 from 330.
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 9:
When dividing 10 by 47, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 3087.17
If we subtract 0 from 10, we 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.

Advancing to step 10:
100 divided by 47 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 3087.1702
Subtract 94 from 100 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 11:
47 can be fit into 60 1 times, resulting in a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 3087.17021
Subtracting 47 from 60 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.

Advancing to step 12:
The number 47 fits into 130 2 times, leaving a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 3087.170212
The remainder is 36 after subtracting 94 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 13:
The number 47 fits into 360 7 times, leaving a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 3087.1702127
Subtract 329 from 360 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 14:
If we divide 310 by 47, we get 6 and a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 3087.17021276
The remainder is 28 after subtracting 282 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 3087.17021276, with a leftover of 2.8e-08.