We're dividing 40586090 by 320 
The aim is to understand the frequency of 320 in 40586090.

On to step 1:
If we divide 4 by 320, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 320

On to step 2:
320 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
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 / 320

Step 3:
If we divide 405 by 320, we get 1 and a remainder of 85.
The next digit of our result is 1. 
Result so far: 1.0
If we take 320 away from 405, we end up with 85.
Fetch the next digit (8) from the dividend, attach it to 85 and continue: 858 / 320

Going ahead to step 4:
If we divide 858 by 320, we get 2 and a remainder of 218.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtract 640 from 858 to get 218.
Append the next digit (6) from the dividend to 218 and continue with: 2186 / 320

Advancing to step 5:
When dividing 2186 by 320, we get 6 with a remainder of 266.
Record the quotient 6 as the next digit in the result. 
Result so far: 126.0
Deduct 1920 from 2186 and we're left with 266.
Take the next digit (0) from the dividend and append it to 266, then repeat: 2660 / 320

Going ahead to step 6:
320 can be fit into 2660 8 times, resulting in a remainder of 100.
Record the quotient 8 as the next digit in the result. 
Result so far: 1268.0
Deduct 2560 from 2660 and we're left with 100.
Grab the next digit (9) from the dividend, add it to 100, then carry on: 1009 / 320

Advancing to step 7:
320 goes into 1009 3 times with a remainder of 49.
Use 3 as the next digit of our solution. 
Result so far: 12683.0
Subtracting 960 from 1009 leaves us with 49.
Include the next digit (0) from the dividend after 49, then repeat: 490 / 320

Advancing to step 8:
320 can be fit into 490 1 times, resulting in a remainder of 170.
The number 1 becomes the next digit in our result. 
Result so far: 126831.0
Subtracting 320 from 490 leaves us with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

On to step 9:
1700 divided by 320 is 5 with a remainder of 100.
Use 5 as the next digit of our solution. 
Result so far: 126831.5
If we take 1600 away from 1700, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Moving on to step 10:
If we divide 1000 by 320, we get 3 and a remainder of 40.
The number 3 becomes the next digit in our result. 
Result so far: 126831.53
If we take 960 away from 1000, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 11:
The number 320 fits into 400 1 times, leaving a remainder of 80.
Put 1 as the next digit of the answer. 
Result so far: 126831.531
Subtract 320 from 400 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 12:
If we divide 800 by 320, we get 2 and a remainder of 160.
The number 2 becomes the next digit in our result. 
Result so far: 126831.5312
Subtracting 640 from 800 leaves us with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Let's proceed to step 13:
320 goes into 1600 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 126831.53125
Deduct 1600 from 1600 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 14:
320 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 126831.53125
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.

Step 15:
320 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 126831.53125
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 126831.53125 and a remainder of 0.0.