
If I saw a pedigree of five generations and there were no names at all in common, even in the later generations then I would suspect that the pup was very haphazardly breed.
We are actually allowed to marry a first Cousin (only 3 sets of great Grandparents, so having two ancestors repeated twice in 3rd generation) giveing a higher inbreeding coeficient than most pedigrees when names are repeated at the back of a pedigree.
One ancestor in the fifth generation only accounts for for 1/32nd (3.125%) of the blood, so if he appears twice it still only accounts for twice that 6.25%.
A dog appearing once in the third and once in fourth generation will still have less influence (18.75%) on the pups than a parent or Grandparent.
The reasons related animals are mated together is that one hopes to get the same points in the offspring, if the parents have more of the same genes in common, then the chances of producing offspring like the parents is increased over that based on unrelated animals.
Only probelm is the good and bad traits are equally likely to be inherited. Inbreeding does not create a problem, it only makes it more likely to come to the surgace if it is there.
Take the various lottery games. the chances of getting the same six numbers come up out of the 49 available, is something like 6 million to one. Now anyone who plays the rollover game, where fewer numbers are needed for a win, out of less numbers, and the chances increase.
Therefore a highly heritable trait (governed by few genes) is likely to come through in pups from related parents (fewer numbers) than unrelated. on the other hand traits that require complex combinations of genes in order to be expressed (more numbers have to come up) then the same happens as with the lottery, but obviously the chances are still greater the fewer numbers there are.
This is the reason thatwith any breeding, but especially pedigree dog breeding where by the fact that the dogs are the same breed means they are more related than two dogs of different breeds, requires knowledge and study of the individual dogs (their strengths and weaknesses) in pedigrees. If one is mating dogs with ancestors in common within a 5 generation pedigree this information is even more important.