So apparently, I am not a total dunderhead. I asked chatGPT about an interesting pattern I had found playing with powers of 2 and how it had led me to discover that 2^n-(p-1) mod p it was like "Oh yeah, that's Modular periodicity and Fermat's Little Theorem." my reaction: