Regarding primenumber sieving, ChatGPT mentioned and showed C code for the faster "Sieve of Sundaram" and the "Sieve of Atkin" which are improved versions of "Sieve of Eratosthenes". Even Knuth's method to check if a number is prime.