cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A245560 Row sums of triangle in A144480.

This page as a plain text file.
%I A245560 #7 Aug 07 2014 22:50:36
%S A245560 1,2,6,14,36,82,196,436,1000,2186,4884,10540,23128,49428,107048,
%T A245560 227048,486864,1026394,2183860,4581244,9686776,20237372,42571896,
%U A245560 88632664,185653936,385380932,804316296,1665340856,3464899440,7158117736,14853106384
%N A245560 Row sums of triangle in A144480.
%F A245560 From _N. J. A. Sloane_, Aug 07 2014: if n is even, a(n) = (n+2)*2^(n-1)-(n/2)*binomial(n,n/2) otherwise a(n) = (n+2)*2^(n-1)-((n+1)/4)*binomial(n+1,(n+1)/2). This follows easily from the definition.
%p A245560 f:=n->if (n mod 2) = 0 then (n+2)*2^(n-1)-(n/2)*binomial(n,n/2)
%p A245560 else (n+2)*2^(n-1)-((n+1)/4)*binomial(n+1,(n+1)/2); fi;
%p A245560 [seq(f(n),n=0..40)];
%Y A245560 Cf. A144480.
%K A245560 nonn,easy
%O A245560 0,2
%A A245560 _Roger L. Bagula_, Oct 11 2008
%E A245560 Edited with more terms by _N. J. A. Sloane_, Aug 07 2014