|
| |
|
|
A165909
|
|
a(n) = sum of the quadratic residues of n.
|
|
1
| |
|
|
0, 1, 1, 1, 5, 8, 7, 5, 12, 25, 22, 14, 39, 42, 30, 14, 68, 60, 76, 35, 70, 110, 92, 42, 125, 169, 126, 84, 203, 150, 186, 72, 165, 289, 175, 96, 333, 342, 208, 135, 410, 308, 430, 198, 225, 460, 423, 124, 490, 525, 408, 299, 689, 549, 385, 252, 532, 841, 767, 270
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,5
|
|
|
COMMENTS
| The table below shows n, the number of non-zero quadratic residues
(QRs) of n (A105612),the sum of the QRs of n and the non-zero QRs
of n (A046071) for n=1:10.
..n..num QNRs..sum QNRs.........QNRs
..1.........0.........0
..2.........1.........1.........1
..3.........1.........1.........1
..4.........1.........1.........1
..5.........2.........5.........1..4
..6.........3.........8.........1..3..4
..7.........3.........7.........1..2..4
..8.........2.........5.........1..4
..9.........3........12.........1..4..7
.10.........5........25.........1..4..5..6..9
|
|
|
LINKS
| C. H. Gribble, Table of n, a(n) for n=1,...,1000.
|
|
|
CROSSREFS
| Cf. A046071
Sequence in context: A005480 A204921 A021867 * A197415 A019845 A143618
Adjacent sequences: A165906 A165907 A165908 * A165910 A165911 A165912
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Christopher Hunt Gribble (chris.eveswell(AT)virgin.net), Sep 30 2009
|
| |
|
|