We look at the division of 9770079 by 406 
The aim is to understand the frequency of 406 in 9770079.

Advancing to step 1:
If we divide 9 by 406, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 406

Advancing to step 2:
406 goes into 97 0 times with a remainder of 97.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 97 leaves us with 97.
Grab the next digit (7) from the dividend, add it to 97, then carry on: 977 / 406

Advancing to step 3:
977 divided by 406 is 2 with a remainder of 165.
The next digit of our result is 2. 
Result so far: 2.0
If we take 812 away from 977, we end up with 165.
Fetch the next digit (0) from the dividend, attach it to 165 and continue: 1650 / 406

Advancing to step 4:
1650 divided by 406 is 4 with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtract 1624 from 1650 to get 26.
Take the next digit (0) from the dividend and append it to 26, then repeat: 260 / 406

On to step 5:
The number 406 fits into 260 0 times, leaving a remainder of 260.
Use 0 as the next digit of our solution. 
Result so far: 240.0
If we subtract 0 from 260, we get 260.
Fetch the next digit (7) from the dividend, attach it to 260 and continue: 2607 / 406

Advancing to step 6:
406 can be fit into 2607 6 times, resulting in a remainder of 171.
The next digit of our result is 6. 
Result so far: 2406.0
Deduct 2436 from 2607 and we're left with 171.
Take the next digit (9) from the dividend and append it to 171, then repeat: 1719 / 406

Moving on to step 7:
1719 divided by 406 is 4 with a remainder of 95.
Record the quotient 4 as the next digit in the result. 
Result so far: 24064.0
The remainder is 95 after subtracting 1624 from 1719.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Advancing to step 8:
406 can be fit into 950 2 times, resulting in a remainder of 138.
Record the quotient 2 as the next digit in the result. 
Result so far: 24064.2
Subtracting 812 from 950 leaves us with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

On to step 9:
If we divide 1380 by 406, we get 3 and a remainder of 162.
Write down 3 as next digit of the result. 
Result so far: 24064.23
The remainder is 162 after subtracting 1218 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Advancing to step 10:
1620 divided by 406 is 3 with a remainder of 402.
Write down 3 as next digit of the result. 
Result so far: 24064.233
Subtracting 1218 from 1620 leaves us with 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

The final outcome is 24064.233, with a leftover of 0.0402.