OFFSET
1,1
COMMENTS
By Wilson's theorem, p! == 1 (mod p+2) whenever (p,p+2) are twin primes. This sequence and A286181 concern consecutive primes (p,q) satisfying p! = 1 (mod q), where d = q-p > 2.
It follows that (d-1)! == 1 (mod q). Listed terms correspond to d = 12, 30, 76 (cf. A286230). Further terms should have d>=140.
CROSSREFS
KEYWORD
bref,nonn,more
AUTHOR
Max Alekseyev and Thomas Ordowski, May 04 2017
STATUS
approved