The old entry with this sequence number was a duplicate of
A039963.
The simultaneous equations (p+1)(p+2) == -1 (mod q), (q+1)(q+2) == -1 (mod p), where p and q are odd, have solutions {3, 3}, {3, 21}, {7, 73}, {21, 507}, {73, 793}, {793, 8647} and suggested this recurrence.