I suspect it was partly inspired by https://en.wikipedia.org/wiki/Illegal_number#Illegal_primes
After one commenter showed off this technique, someone else found a minimal prime giraffe: 7.
[0] https://www.reddit.com/r/math/comments/7qpfls/does_there_exi...