Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
J. H. Silverman, A Friendly Introduction to Number Theory, pp. 351, Prentice Hall NJ, 2001.
Table of n, a(n) for n=1..20.
a(n)=p for p==3 (mod 4). a(n)=p-+2*A002972(n), sign chosen according as to A002972(n)==-+1 (mod 4), for p==1 (mod 4).
Sequence in context: A080088 A098715 A167886 * A156763 A169653 A129012
Adjacent sequences: A095975 A095976 A095977 * A095979 A095980 A095981
Lekraj Beedassy, Jul 16 2004