A Pillai sequence is a specific type of integer sequence defined in number theory. It is named after the Indian mathematician S. P. Pillai. The sequence is generated using a recurrence relation based on the properties of prime numbers.
New to topics? Read the docs here!