We're dividing 413496 by 51 
The aim is to understand the frequency of 51 in 413496.

Advancing to step 1:
If we divide 4 by 51, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 51

Step 2:
51 goes into 41 0 times with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 41, we get 41.
Bring next digit (3) of the dividend behind the 41 and repeat the process: 413 / 51

On to step 3:
51 can be fit into 413 8 times, resulting in a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 408 from 413 leaves us with 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 51

Moving on to step 4:
If we divide 54 by 51, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
Deduct 51 from 54 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 51

Going ahead to step 5:
51 can be fit into 39 0 times, resulting in a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 810.0
If we subtract 0 from 39, we get 39.
Grab the next digit (6) from the dividend, add it to 39, then carry on: 396 / 51

Moving on to step 6:
If we divide 396 by 51, we get 7 and a remainder of 39.
The number 7 becomes the next digit in our result. 
Result so far: 8107.0
If we take 357 away from 396, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 7:
If we divide 390 by 51, we get 7 and a remainder of 33.
Write down 7 as next digit of the result. 
Result so far: 8107.7
Subtracting 357 from 390 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 8:
330 divided by 51 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 8107.76
The remainder is 24 after subtracting 306 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 9:
240 divided by 51 is 4 with a remainder of 36.
Use 4 as the next digit of our solution. 
Result so far: 8107.764
Subtracting 204 from 240 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 10:
51 can be fit into 360 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 8107.7647
Subtract 357 from 360 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 11:
When dividing 30 by 51, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 8107.7647
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 12:
When dividing 300 by 51, we get 5 with a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 8107.764705
If we subtract 255 from 300, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 13:
450 divided by 51 is 8 with a remainder of 42.
Put 8 as the next digit of the answer. 
Result so far: 8107.7647058
Subtract 408 from 450 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 14:
51 can be fit into 420 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 8107.76470588
If we subtract 408 from 420, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

In conclusion, the division gives 8107.76470588 with a balance of 1.2e-08.