90877207 divided by 506 
The aim is to understand the frequency of 506 in 90877207.

Going ahead to step 1:
506 can be fit into 9 0 times, resulting in a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (0) from the dividend, add it to 9, then carry on: 90 / 506

Advancing to step 2:
90 divided by 506 is 0 with a remainder of 90.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 90, we end up with 90.
Fetch the next digit (8) from the dividend, attach it to 90 and continue: 908 / 506

On to step 3:
When dividing 908 by 506, we get 1 with a remainder of 402.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 506 from 908, we get 402.
Include the next digit (7) from the dividend after 402, then repeat: 4027 / 506

On to step 4:
4027 divided by 506 is 7 with a remainder of 485.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 485 after subtracting 3542 from 4027.
Fetch the next digit (7) from the dividend, attach it to 485 and continue: 4857 / 506

Going ahead to step 5:
4857 divided by 506 is 9 with a remainder of 303.
Put 9 as the next digit of the answer. 
Result so far: 179.0
Subtracting 4554 from 4857 leaves us with 303.
Take the next digit (2) from the dividend and append it to 303, then repeat: 3032 / 506

Let's proceed to step 6:
The number 506 fits into 3032 5 times, leaving a remainder of 502.
Use 5 as the next digit of our solution. 
Result so far: 1795.0
If we subtract 2530 from 3032, we get 502.
Append the next digit (0) from the dividend to 502 and continue with: 5020 / 506

Advancing to step 7:
When dividing 5020 by 506, we get 9 with a remainder of 466.
Put 9 as the next digit of the answer. 
Result so far: 17959.0
If we take 4554 away from 5020, we end up with 466.
Take the next digit (7) from the dividend and append it to 466, then repeat: 4667 / 506

Going ahead to step 8:
506 can be fit into 4667 9 times, resulting in a remainder of 113.
Write down 9 as next digit of the result. 
Result so far: 179599.0
Deduct 4554 from 4667 and we're left with 113.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1130, and continue the process.

On to step 9:
When dividing 1130 by 506, we get 2 with a remainder of 118.
The next digit of our result is 2. 
Result so far: 179599.2
If we subtract 1012 from 1130, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Step 10:
506 goes into 1180 2 times with a remainder of 168.
Write down 2 as next digit of the result. 
Result so far: 179599.22
The remainder is 168 after subtracting 1012 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

The final outcome is 179599.22, with a leftover of 0.168.