login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A327563
Row sums of A119687.
2
1, 2, 4, 12, 104, 7708, 42181224, 1259630774324312, 1123743023025850233599250718672, 893151516212832508883674101518508312952543518197504822363196
OFFSET
1,2
FORMULA
a(n) = Sum_{k=0..n} T(n, k) where T(n, k) = T(n-1, k-1)^2 + T(n-1, k)^2; T(0,0)=1; T(n,-1):=0; T(n, k):=0, n < k.
EXAMPLE
1 = 1;
1 + 1 = 2;
1 + 2 + 1 = 4;
1 + 5 + 5 + 1 = 12.
PROG
(Python)
def r(i):
t = [[0, 1, 0], [0, 1, 1, 0]]
for n in range(2, i+1):
t.append([0])
for k in range(1, n+2):
t[n].append(t[n-1][k-1]**2 + t[n-1][k]**2)
t[n].append(0)
return(sum(t[i]))
for n in range(1, 10):
print (r(n))
CROSSREFS
Cf. A119687.
Sequence in context: A230814 A325502 A038791 * A326950 A001696 A276534
KEYWORD
nonn
AUTHOR
Cortney Reagle, Sep 17 2019
EXTENSIONS
a(10) corrected by Georg Fischer, Mar 19 2024
STATUS
approved