cp's OEIS Frontend

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.

A071961 a(n) = Sum_{i=0..n} K(n, i) where K(x, y) is the Kronecker symbol (x / y).

This page as a plain text file.
%I A071961 #38 May 19 2024 02:16:41
%S A071961 0,2,1,0,2,0,2,4,0,6,2,2,0,0,4,6,8,0,0,2,0,0,2,6,0,20,6,0,0,0,4,12,0,
%T A071961 0,4,4,12,0,6,12,0,0,4,0,0,0,4,10,0,42,2,4,0,0,2,18,0,0,2,6,0,0,8,2,
%U A071961 32,0,8,-2,0,0,4,14,0,0,10,4,0,0,4,22,0,54
%N A071961 a(n) = Sum_{i=0..n} K(n, i) where K(x, y) is the Kronecker symbol (x / y).
%C A071961 a(n) = A096396(n) - A096397(n). - _Reinhard Zumkeller_, Mar 24 2012
%C A071961 a(n) < 0 for n in A071958. - _Robert G. Wilson v_, Mar 21 2015
%H A071961 Reinhard Zumkeller, <a href="/A071961/b071961.txt">Table of n, a(n) for n = 0..10000</a>
%t A071961 f[n_] := Sum[KroneckerSymbol[n, k], {k, 0, n}];
%t A071961 Table[f[n], {n, 0, 81}]  (* _Robert G. Wilson v_, Mar 21 2015 *)
%o A071961 (PARI) for(n=0, 100, print1(sum(i=1, n, kronecker(n,i)), ","))
%o A071961 (SageMath)
%o A071961 print([sum(kronecker(n, k) for k in range(n + 1)) for n in range(82)])
%o A071961 # _Peter Luschny_, May 16 2024
%Y A071961 Row sums of A372728.
%Y A071961 Records and their positions: A372933, A372934, A372935, A372936.
%K A071961 easy,sign,look
%O A071961 0,2
%A A071961 _Benoit Cloitre_, Jun 16 2002
%E A071961 Offset set to 0, a(0) = 0 added, a(1) and name adapted by _Peter Luschny_, May 16 2024