This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A165898 #4 Mar 30 2012 17:34:11 %S A165898 0,0,2,5,5,7,14,23,24,20,33,52,39,49,75,106,68,93,95,155,140,121,161, %T A165898 234,175,156,225,294,203,285,279,424,363,272,420,534,333,361,533,645, %U A165898 410,553,473,748,765,575,658,1004,686,700,867,1027,689,882,1100,1288 %N A165898 a(n) = sum of the quadratic nonresidues of n. %C A165898 The table below shows n, the number of quadratic nonresidues (QNRs) %C A165898 of n (A095972), the sum of the QNRs of n and the QNRs of n (A096013) %C A165898 for n=1:10. %C A165898 ..n..num QNRs..sum QNRs.........QNRs %C A165898 ..1.........0.........0 %C A165898 ..2.........0.........0 %C A165898 ..3.........1.........2.........2 %C A165898 ..4.........2.........5.........2..3 %C A165898 ..5.........2.........5.........2..3 %C A165898 ..6.........2.........7.........2..5 %C A165898 ..7.........3........14.........3..5..6 %C A165898 ..8.........5........23.........2..3..5..6..7 %C A165898 ..9.........5........24.........2..3..5..6..8 %C A165898 .10.........4........20.........2..3..7..8 %H A165898 C. H. Gribble, <a href="/A165898/b165898.txt">Table of n, a(n) for n=1,...,1000</a>. %Y A165898 Cf. A096013 %K A165898 nonn %O A165898 1,3 %A A165898 _Christopher Hunt Gribble_, Sep 29 2009