Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A165951
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A165951 If the nth prime is denoted by p(n) then a(n) = (Sum of the quadratic non-residues of p(n) - Sum of the quadratic residues of p(n)) / p(n) +0
6
0, 0, 0, 1, 1, 0, 0, 1, 3, 0, 3, 0, 0, 1, 5, 0, 3, 0, 1, 7, 0, 5, 3, 0, 0, 0, 5, 3, 0, 0, 5, 5, 0, 3, 0, 7, 0, 1, 11, 0, 5, 0, 13, 0, 0, 9, 3, 7, 5, 0, 0, 15, 0, 7, 0, 13, 0, 11, 0, 0, 3, 0, 3, 19, 0, 0, 3, 0, 5, 0, 0, 19, 9, 0, 3, 17, 0, 0, 0, 0, 9, 0, 21, 0, 15, 5, 0, 0, 0, 7, 7, 25, 7, 9, 3, 21, 0, 0 (list; graph; listen)
OFFSET

1,9

COMMENT

Also, a(n) = (sum (floor (j^2/p(n))), j = 1:p(n)-1) - floor ((p(n)-2)(p(n)-1)/3) for n >= 3.

CROSSREFS

a(3:) = A125616 - A076410.

Sequence in context: A030208 A126598 A127802 this_sequence A094901 A030220 A055240

Adjacent sequences: A165948 A165949 A165950 this_sequence A165952 A165953 A165954

KEYWORD

nonn

AUTHOR

Christopher Hunt Gribble (chris.eveswell(AT)virgin.net), Oct 01 2009

EXTENSIONS

a(1:2) added and cross-reference section modified by Christopher Hunt Gribble (chris.eveswell(AT)virgin.net), Oct 07 2009

Comment corrected by Christopher Hunt Gribble (chris.eveswell(AT)virgin.net), Oct 17 2009

Comment corrected by Christopher Hunt Gribble (chris.eveswell(AT)virgin.net), Oct 29 2009

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 December 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research