Groupsieve is a software program written in C that generates prime numbers in order using a segmented sieve of Eratosthenes with optimizations based on the properties of additive groups of integers.