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.

A115281 Correlation triangle for the sequence 2-0^n.

This page as a plain text file.
%I A115281 #14 Jan 15 2016 02:44:48
%S A115281 1,2,2,2,5,2,2,6,6,2,2,6,9,6,2,2,6,10,10,6,2,2,6,10,13,10,6,2,2,6,10,
%T A115281 14,14,10,6,2,2,6,10,14,17,14,10,6,2,2,6,10,14,18,18,14,10,6,2,2,6,10,
%U A115281 14,18,21,18,14,10,6,2
%N A115281 Correlation triangle for the sequence 2-0^n.
%C A115281 Row sums are (n+1)^2 (A000290(n+1)). Diagonal sums are the Molien series A007980. T(2n,n) is 4n+1 (A016813), the partial sums of (2-0^n)^2. T(2,n)-T(2n,n+1) is 3-2*0^n.
%C A115281 From _Mats Granvik_, Jul 06 2010: (Start)
%C A115281 If seen as a square array:
%C A115281 1, 2, 2, 2
%C A115281 2, 5, 6, 6
%C A115281 2, 6, 9, 10
%C A115281 2, 6, 10, 13
%C A115281 then the matrix inverse contains the same values, only signed and in reversed order:
%C A115281 13, -10, 6, -2
%C A115281 -10, 9, -6, 2
%C A115281 6, -6, 5, -2
%C A115281 -2, 2, -2, 1
%C A115281 (End)
%F A115281 G.f.: (1+x)(1+x*y)/((1-x)(1-x*y)(1-x^2*y)).
%F A115281 T(n, k) = sum{j=0..n, [j<=k]*(2-0^(k-j))*[j<=n-k]*(2-0^(n-k-j))}.
%e A115281 Triangle begins
%e A115281 1;
%e A115281 2,2;
%e A115281 2,5,2;
%e A115281 2,6,6,2;
%e A115281 2,6,9,6,2;
%e A115281 2,6,10,10,6,2;
%t A115281 Flatten[Table[Table[If[n - k + 1 == k, 4*(n - k + 1 - 1) + 1, If[n - k + 1 > k, 4*(k - 1) + 2, 4*(n - k + 1 - 1) + 2]], {k, 1, n}], {n, 1, 11}]] (* _Mats Granvik_, Jan 06 2016 *)
%K A115281 easy,nonn,tabl
%O A115281 0,2
%A A115281 _Paul Barry_, Jan 19 2006
%E A115281 a(65)-a(66) from _Mats Granvik_, Jan 06 2016