a(n) = least k such that the remainder when 31^k is divided by k is n. 2, 29, 7, 29787, 13, 113413, 51, 23, 11, 3309, 38, 19, 21, 17, 22, 115, 118, 37237
1 seqfan posts