A program for generating ulam spirals of generalized primes.