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.

A244307 Sum over each antidiagonal of A244306.

This page as a plain text file.
%I A244307 #26 Nov 30 2016 22:17:30
%S A244307 0,2,7,20,45,92,170,296,486,766,1161,1708,2443,3416,4676,6288,8316,
%T A244307 10842,13947,17732,22297,27764,34254,41912,50882,61334,73437,87388,
%U A244307 103383,121648,142408,165920,192440,222258,255663,292980,334533,380684,431794,488264
%N A244307 Sum over each antidiagonal of A244306.
%H A244307 Christopher Hunt Gribble, <a href="/A244307/b244307.txt">Table of n, a(n) for n = 1..10000</a>
%F A244307 Empirically, a(n) = (6*n^5 + 30*n^4 + 180*n^3 + 240*n^2 - 141*n - 135 + (45*n + 135)*(-1)^n)/1440.
%F A244307 Empirical g.f.: x^2*(x^3-x+2) / ((x-1)^6*(x+1)^2). - _Colin Barker_, Jun 01 2015
%e A244307 a(1..9) are formed as follows:
%e A244307 .        Antidiagonals of A244306             n  a(n)
%e A244307 .                    0                        1     0
%e A244307 .                  1   1                      2     2
%e A244307 .                2   3   2                    3     7
%e A244307 .              4   6   6   4                  4    20
%e A244307 .            6  10  13  10   6                5    45
%e A244307 .          9  15  22  22  15   9              6    92
%e A244307 .       12  21  34  36  34  21  12            7   170
%e A244307 .     16  28  48  56  56  48  28  16          8   296
%e A244307 .   20  36  65  78  88  78  65  36  20        9   486
%p A244307 b := proc (n::integer, k::integer)::integer;
%p A244307 (4*k^2*n^2 + 2*k^2 + 8*k*n + 2*n^2 - 4*k - 4*n - 1 -
%p A244307 (2*k^2 - 4*k - 1)*(-1)^n - (2*n^2 - 4*n - 1)*(-1)^k -
%p A244307 (-1)^k*(-1)^n)*(1/32);
%p A244307 end proc;
%p A244307 for j to 40 do
%p A244307    a := 0;
%p A244307    for k from j by -1 to 1 do
%p A244307       n := j - k + 1;
%p A244307       a := a + b(n, k);
%p A244307    end do;
%p A244307    printf("%d, ", a);
%p A244307 end do;
%Y A244307 Cf. A244306.
%K A244307 nonn
%O A244307 1,2
%A A244307 _Christopher Hunt Gribble_, Jun 25 2014
%E A244307 Terms corrected and extended by _Christopher Hunt Gribble_, Mar 31 2015