We're dividing 514166 by 90 
The aim is to understand the frequency of 90 in 514166.

Going ahead to step 1:
When dividing 5 by 90, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 90

Step 2:
51 divided by 90 is 0 with a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Grab the next digit (4) from the dividend, add it to 51, then carry on: 514 / 90

Let's proceed to step 3:
514 divided by 90 is 5 with a remainder of 64.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 450 from 514 leaves us with 64.
Fetch the next digit (1) from the dividend, attach it to 64 and continue: 641 / 90

Advancing to step 4:
641 divided by 90 is 7 with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 57.0
If we take 630 away from 641, we end up with 11.
Append the next digit (6) from the dividend to 11 and continue with: 116 / 90

Moving on to step 5:
The number 90 fits into 116 1 times, leaving a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 571.0
If we subtract 90 from 116, we get 26.
Bring next digit (6) of the dividend behind the 26 and repeat the process: 266 / 90

Moving on to step 6:
The number 90 fits into 266 2 times, leaving a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 5712.0
Deduct 180 from 266 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Going ahead to step 7:
860 divided by 90 is 9 with a remainder of 50.
Record the quotient 9 as the next digit in the result. 
Result so far: 5712.9
Subtract 810 from 860 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 8:
The number 90 fits into 500 5 times, leaving a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 5712.95
If we subtract 450 from 500, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 9:
If we divide 500 by 90, we get 5 and a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 5712.955
If we take 450 away from 500, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

After the division, we end up with 5712.955 and a remainder of 0.005.