OFFSET
0,8
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..860
FORMULA
T(n,k) = (k^(n^2) + 2*k^((n^2 + 3*(n mod 2))/4) + k^((n^2 + (n mod 2))/2) + 2*k^(n*(n+1)/2) + 2*k^(n*(n + n mod 2)/2) )/8.
EXAMPLE
Array begins:
====================================================================
n\k | 0 1 2 3 4 5
----+---------------------------------------------------------------
0 | 1 1 1 1 1 1 ...
1 | 0 1 2 3 4 5 ...
2 | 0 1 6 21 55 120 ...
3 | 0 1 102 2862 34960 252375 ...
4 | 0 1 8548 5398083 537157696 19076074375 ...
5 | 0 1 4211744 105918450471 140738033618944 37252918396015625 ...
...
PROG
(PARI) T(n, k) = {(k^(n^2) + 2*k^((n^2 + 3*(n%2))/4) + k^((n^2 + (n%2))/2) + 2*k^(n*(n+1)/2) + 2*k^(n*(n+n%2)/2) )/8}
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Andrew Howroyd, Apr 14 2021
STATUS
approved