Search: id:A002314 Results 1-1 of 1 results found. %I A002314 M1314 N0503 %S A002314 2,5,4,12,6,9,23,11,27,34,22,10,33,15,37,44,28,80,19,81,14,107,89,64, %T A002314 16,82,60,53,138,25,114,148,136,42,104,115,63,20,143,29,179,67,109,48, %U A002314 208,235,52,118,86,24,77,125,35,194,154,149,106,58,26,135,96,353,87,39 %N A002314 Minimal integer square root of -1 modulo p(n), where p(n) = n-th prime of form 4k+1. %C A002314 In other words, if p is the n-th prime == 1 mod 4, a(n) is the smallest positive integer k such that k^2 + 1 == 0 mod p. %C A002314 The 4th roots of unity mod p, where p = n-th prime == 1 mod 4, are +1, -1, a(n) and p-a(n). %C A002314 Related to Stormer numbers. %C A002314 Comment from Igor Shparlinski, Mar 12 2007 (writing to the Number Theory List): Results about the distribution of roots (for arbitrary quadratic polynomials) are given by W. Duke, J. B. Friedlander and H. Iwaniec and A. Toth. %C A002314 Comment from Emmanuel Kowalski, Mar 12 2007 (writing to the Number Theory List): It is known (Duke, Friedlander, Iwaniec, Annals of Math. 141 (1995)) that the fractional part of a(n)/p(n) is equidistributed in [0,1/2] for p(n)Table of n, a(n) for n=1..1000 %p A002314 f:=proc(n) local i,j,k; for i from 1 to (n-1)/2 do if i^2 +1 mod n = 0 then RETURN(i); fi od: -1; end; %p A002314 t1:=[]; M:=40; for n from 1 to M do q:=ithprime(n); if q mod 4 = 1 then t1:=[op(t1),f(q)]; fi; od: t1; %t A002314 aa = {}; Do[If[Mod[Prime[n], 4] == 1, k = 1; While[ ! Mod[k^2 + 1, Prime[n]] == 0, k++ ]; AppendTo[aa, k]], {n, 1, 100}]; aa [From Artur Jasinski (grafix(AT)csl.pl), Dec 10 2008] %Y A002314 Cf. A002313, A005528, A047818. %Y A002314 A002144, A152676, A152680 [From Artur Jasinski (grafix(AT)csl.pl), Dec 10 2008] %Y A002314 Sequence in context: A072403 A010078 A074639 this_sequence A094471 A126356 A121274 %Y A002314 Adjacent sequences: A002311 A002312 A002313 this_sequence A002315 A002316 A002317 %K A002314 nonn %O A002314 1,1 %A A002314 N. J. A. Sloane (njas(AT)research.att.com). %E A002314 Better description from Tony Davie (ad(AT)dcs.st-and.ac.uk), Feb 07 2001 %E A002314 More terms from Jud McCranie (j.mccranie(AT)comcast.net), Mar 18, 2001. Search completed in 0.001 seconds