87012963 divided by 396 
The aim is to understand the frequency of 396 in 87012963.

Advancing to step 1:
When dividing 8 by 396, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 396

Let's proceed to step 2:
When dividing 87 by 396, we get 0 with a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Append the next digit (0) from the dividend to 87 and continue with: 870 / 396

Let's proceed to step 3:
If we divide 870 by 396, we get 2 and a remainder of 78.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 792 from 870 to get 78.
Append the next digit (1) from the dividend to 78 and continue with: 781 / 396

Going ahead to step 4:
396 goes into 781 1 times with a remainder of 385.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we subtract 396 from 781, we get 385.
Fetch the next digit (2) from the dividend, attach it to 385 and continue: 3852 / 396

On to step 5:
396 goes into 3852 9 times with a remainder of 288.
Write down 9 as next digit of the result. 
Result so far: 219.0
If we subtract 3564 from 3852, we get 288.
Fetch the next digit (9) from the dividend, attach it to 288 and continue: 2889 / 396

On to step 6:
The number 396 fits into 2889 7 times, leaving a remainder of 117.
The number 7 becomes the next digit in our result. 
Result so far: 2197.0
Deduct 2772 from 2889 and we're left with 117.
Include the next digit (6) from the dividend after 117, then repeat: 1176 / 396

Going ahead to step 7:
396 goes into 1176 2 times with a remainder of 384.
Record the quotient 2 as the next digit in the result. 
Result so far: 21972.0
If we take 792 away from 1176, we end up with 384.
Grab the next digit (3) from the dividend, add it to 384, then carry on: 3843 / 396

Moving on to step 8:
396 goes into 3843 9 times with a remainder of 279.
Write down 9 as next digit of the result. 
Result so far: 219729.0
The remainder is 279 after subtracting 3564 from 3843.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2790, and continue the process.

Let's proceed to step 9:
396 goes into 2790 7 times with a remainder of 18.
The next digit of our result is 7. 
Result so far: 219729.7
The remainder is 18 after subtracting 2772 from 2790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
When dividing 180 by 396, we get 0 with a remainder of 180.
Write down 0 as next digit of the result. 
Result so far: 219729.7
Deduct 0 from 180 and we're left with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Moving on to step 11:
When dividing 1800 by 396, we get 4 with a remainder of 216.
Use 4 as the next digit of our solution. 
Result so far: 219729.704
If we take 1584 away from 1800, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 12:
396 can be fit into 2160 5 times, resulting in a remainder of 180.
Record the quotient 5 as the next digit in the result. 
Result so far: 219729.7045
If we take 1980 away from 2160, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

On to step 13:
396 goes into 1800 4 times with a remainder of 216.
Put 4 as the next digit of the answer. 
Result so far: 219729.70454
The remainder is 216 after subtracting 1584 from 1800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 14:
2160 divided by 396 is 5 with a remainder of 180.
Record the quotient 5 as the next digit in the result. 
Result so far: 219729.704545
Subtracting 1980 from 2160 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Let's proceed to step 15:
The number 396 fits into 1800 4 times, leaving a remainder of 216.
Record the quotient 4 as the next digit in the result. 
Result so far: 219729.7045454
If we take 1584 away from 1800, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 16:
396 goes into 2160 5 times with a remainder of 180.
The next digit of our result is 5. 
Result so far: 219729.70454545
Subtracting 1980 from 2160 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Our division results in 219729.70454545 with a remaining 1.8e-07.