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”).

A297628
Seidel's triangle generating A006846 read by rows, T(n,k) for n>=0 and 0<=k<=n.
2
1, 1, 1, 1, 2, 2, 1, 5, 7, 7, 1, 20, 34, 41, 41, 1, 137, 253, 335, 376, 376, 1, 1478, 2818, 3905, 4657, 5033, 5033, 1, 22925, 44371, 62999, 77722, 87788, 92821, 92821, 1, 481448, 939970, 1354121, 1705273, 1978703, 2164345, 2257166, 2257166
OFFSET
0,5
EXAMPLE
Triangle starts:
0: [1]
1: [1, 1]
2: [1, 2, 2]
3: [1, 5, 7, 7]
4: [1, 20, 34, 41, 41]
5: [1, 137, 253, 335, 376, 376]
6: [1, 1478, 2818, 3905, 4657, 5033, 5033]
7: [1, 22925, 44371, 62999, 77722, 87788, 92821, 92821]
8: [1, 481448, 939970, 1354121, 1705273, 1978703, 2164345, 2257166, 2257166]
PROG
(Julia)
function A297628Triangle(len::Int)
A = fill(BigInt(0), len+1); A[1] = 1
for n in 1:len
for k in n:-1:2 A[k] += A[k+1] end
for k in 2: 1:n A[k] += A[k-1] end
println(A[1:n])
end
end
println(A297628Triangle(9))
CROSSREFS
T(n,1) = A297629(n).
T(n,n) = A006846(n).
Row sums are A297630.
Sequence in context: A162382 A325580 A127082 * A342722 A344528 A329429
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Jan 02 2018
STATUS
approved