Georges has n cans and wants to arrange them into rows with the same number of cans in each row. He tried to line the cans evenly in two rows on a shelf and had one left over; he tried again using three rows, and then four rows. each time he hd one can left over. finally he tried five rows, and had none left over! how many cans did he have?