We look at the division of 38165140 by 163 
The aim is to understand the frequency of 163 in 38165140.

On to step 1:
When dividing 3 by 163, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 163

Let's proceed to step 2:
When dividing 38 by 163, we get 0 with a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 38 leaves us with 38.
Grab the next digit (1) from the dividend, add it to 38, then carry on: 381 / 163

Step 3:
The number 163 fits into 381 2 times, leaving a remainder of 55.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 326 from 381, we get 55.
Grab the next digit (6) from the dividend, add it to 55, then carry on: 556 / 163

Advancing to step 4:
If we divide 556 by 163, we get 3 and a remainder of 67.
Write down 3 as next digit of the result. 
Result so far: 23.0
If we take 489 away from 556, we end up with 67.
Append the next digit (5) from the dividend to 67 and continue with: 675 / 163

Moving on to step 5:
163 goes into 675 4 times with a remainder of 23.
The number 4 becomes the next digit in our result. 
Result so far: 234.0
Deduct 652 from 675 and we're left with 23.
Include the next digit (1) from the dividend after 23, then repeat: 231 / 163

Advancing to step 6:
163 goes into 231 1 times with a remainder of 68.
The number 1 becomes the next digit in our result. 
Result so far: 2341.0
Deduct 163 from 231 and we're left with 68.
Append the next digit (4) from the dividend to 68 and continue with: 684 / 163

Going ahead to step 7:
When dividing 684 by 163, we get 4 with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 23414.0
Deduct 652 from 684 and we're left with 32.
Bring next digit (0) of the dividend behind the 32 and repeat the process: 320 / 163

Step 8:
163 goes into 320 1 times with a remainder of 157.
Record the quotient 1 as the next digit in the result. 
Result so far: 234141.0
The remainder is 157 after subtracting 163 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Moving on to step 9:
If we divide 1570 by 163, we get 9 and a remainder of 103.
Write down 9 as next digit of the result. 
Result so far: 234141.9
If we take 1467 away from 1570, we end up with 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Going ahead to step 10:
163 can be fit into 1030 6 times, resulting in a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 234141.96
If we subtract 978 from 1030, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 11:
When dividing 520 by 163, we get 3 with a remainder of 31.
The number 3 becomes the next digit in our result. 
Result so far: 234141.963
The remainder is 31 after subtracting 489 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 12:
163 can be fit into 310 1 times, resulting in a remainder of 147.
Put 1 as the next digit of the answer. 
Result so far: 234141.9631
Subtracting 163 from 310 leaves us with 147.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1470, and continue the process.

Step 13:
When dividing 1470 by 163, we get 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 234141.96319
Subtracting 1467 from 1470 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 14:
When dividing 30 by 163, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 234141.96319
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 15:
If we divide 300 by 163, we get 1 and a remainder of 137.
Write down 1 as next digit of the result. 
Result so far: 234141.9631901
If we subtract 163 from 300, we get 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Advancing to step 16:
The number 163 fits into 1370 8 times, leaving a remainder of 66.
The number 8 becomes the next digit in our result. 
Result so far: 234141.96319018
Deduct 1304 from 1370 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

After the division, we end up with 234141.96319018 and a remainder of 6.6e-08.