This document discusses techniques for detecting link farms, which are groups of web pages that link to each other to artificially boost their PageRank scores. It provides background on PageRank and how link farms can manipulate it. The proposed method calculates both PageRank and a new "GapRank" score for pages, and identifies pages as part of a link farm if they have identical PageRank and GapRank values. The method is demonstrated on a sample dataset, where pages with duplicate PageRank scores are found and shown to also have identical GapRank, identifying them as a link farm that is then removed from the dataset. This improves the PageRank algorithm's ability to rank pages accurately.