The Jedi Algorithm was a legend about a calculation developed by an unknown droid. It took into account many different factors, including the Jedi involvement in battles and the genetic makeup of Jedi Knights in the sector. According to the droid, when the formula was run, it could predict the number of Force-sensitive individuals that might be present on a planet.