OFFSET
0,3
PROG
(Julia)
function A297629List(len::Int)
R = Array{BigInt}(len)
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
R[n] = A[2]
end
return R
end
println(A297629List(20))
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Jan 02 2018
STATUS
approved