A program to find the first n Ulam numbers where n is a positive integer