Let's divide 40516815 by 160
The aim is to understand the frequency of 160 in 40516815.

On to step 1:
The number 160 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 160

Step 2:
160 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (5) from the dividend after 40, then repeat: 405 / 160

Step 3:
If we divide 405 by 160, we get 2 and a remainder of 85.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 320 from 405, we get 85.
Fetch the next digit (1) from the dividend, attach it to 85 and continue: 851 / 160

Step 4:
160 can be fit into 851 5 times, resulting in a remainder of 51.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we take 800 away from 851, we end up with 51.
Append the next digit (6) from the dividend to 51 and continue with: 516 / 160

Advancing to step 5:
When dividing 516 by 160, we get 3 with a remainder of 36.
The next digit of our result is 3. 
Result so far: 253.0
The remainder is 36 after subtracting 480 from 516.
Take the next digit (8) from the dividend and append it to 36, then repeat: 368 / 160

Advancing to step 6:
160 can be fit into 368 2 times, resulting in a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 2532.0
The remainder is 48 after subtracting 320 from 368.
Include the next digit (1) from the dividend after 48, then repeat: 481 / 160

On to step 7:
When dividing 481 by 160, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 25323.0
Deduct 480 from 481 and we're left with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 160

Going ahead to step 8:
160 goes into 15 0 times with a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 253230.0
Subtracting 0 from 15 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
150 divided by 160 is 0 with a remainder of 150.
Write down 0 as next digit of the result. 
Result so far: 253230.0
If we take 0 away from 150, we end up with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

On to step 10:
The number 160 fits into 1500 9 times, leaving a remainder of 60.
Record the quotient 9 as the next digit in the result. 
Result so far: 253230.09
If we take 1440 away from 1500, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 11:
160 can be fit into 600 3 times, resulting in a remainder of 120.
Record the quotient 3 as the next digit in the result. 
Result so far: 253230.093
The remainder is 120 after subtracting 480 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 12:
The number 160 fits into 1200 7 times, leaving a remainder of 80.
Record the quotient 7 as the next digit in the result. 
Result so far: 253230.0937
Deduct 1120 from 1200 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 13:
The number 160 fits into 800 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 253230.09375
The remainder is 0 after subtracting 800 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

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

Advancing to step 15:
0 divided by 160 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 253230.09375
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 253230.09375 and a remainder of 0.0.