Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125615
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125615 Sum of the quadratic nonresidues of prime(n). +0
4
0, 2, 5, 14, 33, 39, 68, 95, 161, 203, 279, 333, 410, 473, 658, 689, 944, 915, 1139, 1491, 1314, 1738, 1826, 1958, 2328, 2525, 2884, 2996, 2943, 3164, 4318, 4585, 4658, 5004, 5513, 6191, 6123, 6683, 7849, 7439, 8413, 8145, 10314, 9264, 9653, 10746, 11394 (list; graph; listen)
OFFSET

1,2

COMMENT

For all n > 2, prime(n) divides a(n).

REFERENCES

D. M. Burton, Elementary Number Theory, McGraw-Hill, Sixth Edition (2007), p. 185.

LINKS

N. Hobson, Table of n, a(n) for n = 1..1000

N. Hobson, Home page (listed in lieu of email address)

FORMULA

If prime(n) = 4k+1 then a(n) = k(4k+1) = A076409(n).

EXAMPLE

The quadratic nonresidues of 7=prime(4) are 3, 5 and 6. Hence a(4)=3+5+6=14.

PROGRAM

(PARI) vector(47, n, p=prime(n); t=1; for(i=2, (p-1)/2, t+=((i^2)%p)); p*(p-1)/2-t)

CROSSREFS

Cf. A076409, A076410, A125613-A125618.

Sequence in context: A022913 A056358 A036681 this_sequence A096772 A090803 A018015

Adjacent sequences: A125612 A125613 A125614 this_sequence A125616 A125617 A125618

KEYWORD

easy,nonn

AUTHOR

Nick Hobson Nov 30 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research