OFFSET
1,1
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..86 correcting the earlier R. H. Hardin file at a(28).
EXAMPLE
Some solutions for n=3:
-6 -4 -4 -6 -4 -3 -4 -3 -6 -3 -3 -6 -4 -5 -5 -1
-1 -4 -4 -3 -1 -2 -3 0 -5 -3 -3 -1 1 -4 -2 -1
-1 -4 -3 3 1 -2 -3 0 5 -2 -3 1 1 3 -2 -1
2 -4 3 5 3 3 4 1 5 2 -3 5 2 3 3 1
6 6 5 5 3 3 4 2 5 4 5 5 3 5 5 2
MATHEMATICA
AatE[n_, nminusfE_, E_] := AatE[n, nminusfE, E] = Module[{a, fEminus, fEplus, f0, resn}, If[E == 0, If[n == 0, 1, 0], a = 0; For[fEminus = 0, fEminus <= nminusfE, fEminus++, For[fEplus = 0, fEplus <= nminusfE - fEminus, fEplus++, f0 = nminusfE - fEminus - fEplus; resn = n - (2^E + 1)*fEminus + (2^E - 1)*fEplus; If[Abs[resn] <= (1 + 2^(E - 1))*f0, a = a + AatE[resn, f0, E - 1]]]]; a]];
T[n_, k_] := AatE[n, n, n + k - 2];
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 18 2011
EXTENSIONS
a(28) corrected by R. J. Mathar, May 09 2023
STATUS
approved