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.

A071932 a(n) = 4*Sum_{i=1..n} K(i,i+1) - n, where K(x,y) is the Kronecker symbol (x/y).

This page as a plain text file.
%I A071932 #13 Mar 18 2019 21:51:21
%S A071932 1,4,7,2,5,8,11,6,1,4,7,2,5,8,11,6,9,12,15,10,5,8,11,6,1,4,7,2,5,8,11,
%T A071932 6,9,12,15,10,13,16,19,14,9,12,15,10,5,8,11,6,9,12,15,10,5,8,11,6,1,4,
%U A071932 7,2,5,8,11,6,9,12,15,10,13,16,19,14,9,12,15,10,13,16,19,14,17,20,23
%N A071932 a(n) = 4*Sum_{i=1..n} K(i,i+1) - n, where K(x,y) is the Kronecker symbol (x/y).
%C A071932 a(n) > 0 for n > 2 and it seems that a(n)/log(n) is bounded: a(n) < 4*log(n) for n sufficiently large. Does lim_{n->infinity} a(n)/log(n) exist?
%H A071932 G. C. Greubel, <a href="/A071932/b071932.txt">Table of n, a(n) for n = 3..5000</a>
%t A071932 Table[4*Sum[KroneckerSymbol[j, j+1], {j, n}] - n, {n, 3, 80}] (* _G. C. Greubel_, Mar 17 2019 *)
%o A071932 (PARI) for(n=3,100,print1(4*sum(i=1,n,kronecker(i,i+1))-n,","))
%o A071932 (Sage) [4*sum(kronecker_symbol(j+1,j) for j in (1..n))-n for n in (3..80)] # _G. C. Greubel_, Mar 17 2019
%Y A071932 Cf. A071933, A071934.
%K A071932 easy,nonn
%O A071932 3,2
%A A071932 _Benoit Cloitre_, Jun 14 2002