We look at the division of 51386034 by 476 
The aim is to understand the frequency of 476 in 51386034.

On to step 1:
476 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 476

Advancing to step 2:
476 goes into 51 0 times with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Grab the next digit (3) from the dividend, add it to 51, then carry on: 513 / 476

Going ahead to step 3:
The number 476 fits into 513 1 times, leaving a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 476 from 513 leaves us with 37.
Append the next digit (8) from the dividend to 37 and continue with: 378 / 476

Advancing to step 4:
If we divide 378 by 476, we get 0 and a remainder of 378.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 378, we get 378.
Include the next digit (6) from the dividend after 378, then repeat: 3786 / 476

Advancing to step 5:
When dividing 3786 by 476, we get 7 with a remainder of 454.
Put 7 as the next digit of the answer. 
Result so far: 107.0
The remainder is 454 after subtracting 3332 from 3786.
Append the next digit (0) from the dividend to 454 and continue with: 4540 / 476

Moving on to step 6:
When dividing 4540 by 476, we get 9 with a remainder of 256.
Record the quotient 9 as the next digit in the result. 
Result so far: 1079.0
If we take 4284 away from 4540, we end up with 256.
Bring next digit (3) of the dividend behind the 256 and repeat the process: 2563 / 476

Moving on to step 7:
When dividing 2563 by 476, we get 5 with a remainder of 183.
Write down 5 as next digit of the result. 
Result so far: 10795.0
If we subtract 2380 from 2563, we get 183.
Include the next digit (4) from the dividend after 183, then repeat: 1834 / 476

Let's proceed to step 8:
The number 476 fits into 1834 3 times, leaving a remainder of 406.
Put 3 as the next digit of the answer. 
Result so far: 107953.0
Subtracting 1428 from 1834 leaves us with 406.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4060, and continue the process.

Let's proceed to step 9:
4060 divided by 476 is 8 with a remainder of 252.
Use 8 as the next digit of our solution. 
Result so far: 107953.8
If we take 3808 away from 4060, we end up with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Advancing to step 10:
476 can be fit into 2520 5 times, resulting in a remainder of 140.
Write down 5 as next digit of the result. 
Result so far: 107953.85
The remainder is 140 after subtracting 2380 from 2520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 11:
476 goes into 1400 2 times with a remainder of 448.
Write down 2 as next digit of the result. 
Result so far: 107953.852
The remainder is 448 after subtracting 952 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

On to step 12:
476 goes into 4480 9 times with a remainder of 196.
Record the quotient 9 as the next digit in the result. 
Result so far: 107953.8529
If we take 4284 away from 4480, we end up with 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Advancing to step 13:
The number 476 fits into 1960 4 times, leaving a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 107953.85294
The remainder is 56 after subtracting 1904 from 1960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 14:
476 goes into 560 1 times with a remainder of 84.
Use 1 as the next digit of our solution. 
Result so far: 107953.852941
If we take 476 away from 560, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 15:
If we divide 840 by 476, we get 1 and a remainder of 364.
Record the quotient 1 as the next digit in the result. 
Result so far: 107953.8529411
If we subtract 476 from 840, we get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

The final outcome is 107953.8529411, with a leftover of 3.64e-06.