This algorithm is one of the earliest algorithms ever written. Eratosthenes put numbers in a grid, and then crossed out all multiples of numbers until the square root of the largest number in the grid is crossed out. For example, with a grid of 1 to 100, you would cross out the ...