Let's divide 79793391 by 501
The aim is to understand the frequency of 501 in 79793391.

Going ahead to step 1:
7 divided by 501 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 501

Going ahead to step 2:
79 divided by 501 is 0 with a remainder of 79.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 79 leaves us with 79.
Grab the next digit (7) from the dividend, add it to 79, then carry on: 797 / 501

On to step 3:
When dividing 797 by 501, we get 1 with a remainder of 296.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 501 from 797, we get 296.
Fetch the next digit (9) from the dividend, attach it to 296 and continue: 2969 / 501

Advancing to step 4:
When dividing 2969 by 501, we get 5 with a remainder of 464.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Deduct 2505 from 2969 and we're left with 464.
Grab the next digit (3) from the dividend, add it to 464, then carry on: 4643 / 501

Moving on to step 5:
When dividing 4643 by 501, we get 9 with a remainder of 134.
Record the quotient 9 as the next digit in the result. 
Result so far: 159.0
If we subtract 4509 from 4643, we get 134.
Fetch the next digit (3) from the dividend, attach it to 134 and continue: 1343 / 501

Let's proceed to step 6:
1343 divided by 501 is 2 with a remainder of 341.
Record the quotient 2 as the next digit in the result. 
Result so far: 1592.0
The remainder is 341 after subtracting 1002 from 1343.
Bring next digit (9) of the dividend behind the 341 and repeat the process: 3419 / 501

Let's proceed to step 7:
501 goes into 3419 6 times with a remainder of 413.
Use 6 as the next digit of our solution. 
Result so far: 15926.0
Subtract 3006 from 3419 to get 413.
Bring next digit (1) of the dividend behind the 413 and repeat the process: 4131 / 501

Step 8:
If we divide 4131 by 501, we get 8 and a remainder of 123.
Record the quotient 8 as the next digit in the result. 
Result so far: 159268.0
Subtract 4008 from 4131 to get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Advancing to step 9:
501 can be fit into 1230 2 times, resulting in a remainder of 228.
Use 2 as the next digit of our solution. 
Result so far: 159268.2
If we take 1002 away from 1230, we end up with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Let's proceed to step 10:
501 can be fit into 2280 4 times, resulting in a remainder of 276.
Write down 4 as next digit of the result. 
Result so far: 159268.24
The remainder is 276 after subtracting 2004 from 2280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Advancing to step 11:
501 can be fit into 2760 5 times, resulting in a remainder of 255.
Record the quotient 5 as the next digit in the result. 
Result so far: 159268.245
Subtract 2505 from 2760 to get 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Moving on to step 12:
2550 divided by 501 is 5 with a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 159268.2455
The remainder is 45 after subtracting 2505 from 2550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

After the division, we end up with 159268.2455 and a remainder of 0.00045.