This pattern forms the basis for wheel factorization [1], a faster way to factor a number than naïve trial division.
I actually wrote and described it back in 2002 - https://forums.overclockers.com.au/threads/show-off.71630/#p...
I didn't think much of it back when i did it and i'm not a mathematician, just a hobbyist. I guess i should publish my prime hobbies more...