a(n) is the smallest prime factor of n^n-1 having the form k*n+1.

A187023

a(n) is the smallest prime factor of n^n-1 having the form k*n+1.

Terms

    a(0) =3a(1) =13a(2) =5a(3) =11a(4) =7a(5) =29a(6) =17a(7) =19a(8) =11a(9) =15797a(10) =13a(11) =53a(12) =7027567a(13) =61a(14) =17a(15) =10949a(16) =19a(18) =41a(19) =43a(20) =23a(21) =461a(22) =73a(23) =101a(24) =937a(25) =109a(26) =29a(27) =59a(28) =31a(30) =257a(31) =67

External references