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

A083862
Main diagonal of array A083857.
2
0, 1, 3, 10, 39, 171, 819, 4229, 23247, 135088, 824163, 5255361, 34876647, 240130801, 1710323667, 12572548582, 95183606559, 740843916471, 5918533467075, 48463830575837, 406239439253175, 3481899731310196
OFFSET
0,3
FORMULA
a(n) = (((3 + sqrt(4*n + 1))/2)^n - ((3 - sqrt(4*n + 1))/2)^n)/sqrt(4*n + 1).
MAPLE
T := proc(n, k) local v; option remember; if 0 <= n and k = 0 then v := 0; end if; if 0 <= n and k = 1 then v := 1; end if; if 0 <= n and 2 <= k then v := 3*T(n, k - 1) + (n - 2)*T(n, k - 2); end if; v; end proc;
seq(T(n, n), n = 0 .. 40); # Petros Hadjicostas, Dec 25 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 06 2003
STATUS
approved