См.
post645027.html#p645027 и далее по ссылкам.
В далее по ссылкам есть фраза "Their periods are shown in the brackets. No pair of residues from the periods differ by 4", но там есть два числа 729 и 733 с разницей 4. В теме "cute diophantine equation".