We're dividing 96878745 by 413 
The aim is to understand the frequency of 413 in 96878745.

On to step 1:
9 divided by 413 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 413

On to step 2:
96 divided by 413 is 0 with a remainder of 96.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 96 to get 96.
Fetch the next digit (8) from the dividend, attach it to 96 and continue: 968 / 413

Going ahead to step 3:
413 can be fit into 968 2 times, resulting in a remainder of 142.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 826 away from 968, we end up with 142.
Append the next digit (7) from the dividend to 142 and continue with: 1427 / 413

Let's proceed to step 4:
413 can be fit into 1427 3 times, resulting in a remainder of 188.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 188 after subtracting 1239 from 1427.
Append the next digit (8) from the dividend to 188 and continue with: 1888 / 413

Let's proceed to step 5:
413 goes into 1888 4 times with a remainder of 236.
The number 4 becomes the next digit in our result. 
Result so far: 234.0
Deduct 1652 from 1888 and we're left with 236.
Append the next digit (7) from the dividend to 236 and continue with: 2367 / 413

Let's proceed to step 6:
When dividing 2367 by 413, we get 5 with a remainder of 302.
The next digit of our result is 5. 
Result so far: 2345.0
The remainder is 302 after subtracting 2065 from 2367.
Grab the next digit (4) from the dividend, add it to 302, then carry on: 3024 / 413

On to step 7:
413 can be fit into 3024 7 times, resulting in a remainder of 133.
The next digit of our result is 7. 
Result so far: 23457.0
If we take 2891 away from 3024, we end up with 133.
Bring next digit (5) of the dividend behind the 133 and repeat the process: 1335 / 413

Step 8:
When dividing 1335 by 413, we get 3 with a remainder of 96.
Record the quotient 3 as the next digit in the result. 
Result so far: 234573.0
If we take 1239 away from 1335, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Step 9:
413 can be fit into 960 2 times, resulting in a remainder of 134.
Put 2 as the next digit of the answer. 
Result so far: 234573.2
Subtracting 826 from 960 leaves us with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Going ahead to step 10:
413 can be fit into 1340 3 times, resulting in a remainder of 101.
Write down 3 as next digit of the result. 
Result so far: 234573.23
Subtract 1239 from 1340 to get 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Going ahead to step 11:
1010 divided by 413 is 2 with a remainder of 184.
Record the quotient 2 as the next digit in the result. 
Result so far: 234573.232
Subtracting 826 from 1010 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 12:
413 can be fit into 1840 4 times, resulting in a remainder of 188.
The number 4 becomes the next digit in our result. 
Result so far: 234573.2324
Deduct 1652 from 1840 and we're left with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Going ahead to step 13:
413 can be fit into 1880 4 times, resulting in a remainder of 228.
The next digit of our result is 4. 
Result so far: 234573.23244
Subtracting 1652 from 1880 leaves us 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.

Our division results in 234573.23244 with a remaining 0.000228.