Minimal integer square root of -1 modulo p, where p is the n-th prime of the form 4k+1.

A002314

Minimal integer square root of -1 modulo p, where p is the n-th prime of the form 4k+1.

Terms

    a(0) =2a(1) =5a(2) =4a(3) =12a(4) =6a(5) =9a(6) =23a(7) =11a(8) =27a(9) =34a(10) =22a(11) =10a(12) =33a(13) =15a(14) =37a(15) =44a(16) =28a(17) =80a(18) =19a(19) =81a(20) =14a(21) =107a(22) =89a(23) =64a(24) =16a(25) =82a(26) =60a(27) =53a(28) =138a(29) =25

External references