Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc