We're dividing 9024165 by 5 
The aim is to understand the frequency of 5 in 9024165.

Moving on to step 1:
The number 5 fits into 9 1 times, leaving a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 5 from 9 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 5

On to step 2:
5 can be fit into 40 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 40 from 40 leaves us with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 5

Step 3:
5 can be fit into 2 0 times, resulting in a remainder of 2.
The next digit of our result is 0. 
Result so far: 180.0
Subtracting 0 from 2 leaves us with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 5

On to step 4:
5 goes into 24 4 times with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 1804.0
If we subtract 20 from 24, we get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 5

On to step 5:
41 divided by 5 is 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 18048.0
If we subtract 40 from 41, we get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 5

Moving on to step 6:
The number 5 fits into 16 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 180483.0
Deduct 15 from 16 and we're left with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 5

Moving on to step 7:
5 can be fit into 15 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 1804833.0
Subtracting 15 from 15 leaves us 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.

On to step 8:
0 divided by 5 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 1804833.0
If we take 0 away from 0, we end up 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.

Step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1804833.0
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 1804833.0 and a remainder of 0.0.