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.
%I A085812 #42 Oct 01 2013 14:49:50 %S A085812 1,5,22,91,366,1454,5748,22691,89590,354010,1400268,5544334,21973420, %T A085812 87158972,345977832,1374249251,5461704870,21717305762,86391846492, %U A085812 343800647066,1368639516420,5450093895812,21708897213912,86492537630606 %N A085812 Sum(sum(binomial(i,j),i=n..2*n),j=0..n). %C A085812 As the definition indicates, each term is the sum of numbers from Pascal's Triangle in an (n+1) X (n+1) square arrangement. %C A085812 Example for a(2): %C A085812 1 %C A085812 1 1 %C A085812 |1 2 1 | %C A085812 |1 3 3 |1 %C A085812 |1 4 6 |4 1 %C A085812 1 5 10 10 5 1 %C A085812 1 6 15 20 15 6 1 %C A085812 ... %C A085812 and %C A085812 (1+2+1) + (1+3+3) + (1+4+6) = 22 = a(2). Similarly, a(1) = (1+1)+(1+2) = 5. - _John Molokach_, Sep 17 2013 %H A085812 Vincenzo Librandi, <a href="/A085812/b085812.txt">Table of n, a(n) for n = 0..1000</a> %F A085812 a(n) = 4^n - 2^n + C(2*n+2, n+1)/2. - _Vaclav Kotesovec_, Oct 28 2012 %F A085812 (n+1)*a(n) +2*(-6*n-1)*a(n-1) +4*(13*n-9)*a(n-2) +8*(-12*n+19)*a(n-3) +32*(2*n-5)*a(n-4)=0. - _R. J. Mathar_, Oct 01 2013 %e A085812 a(1)=binomial(1,0)+binomial(2,0)+binomial(1,1)+binomial(2,1)=1+1+1+2=5 %p A085812 a := n->add(add(binomial(i,j),i=n..2*n),j=0..n); seq(a(n),n=0..25); %t A085812 Table[4^n-2^n+Binomial[2*n+2,n+1]/2,{n,0,20}] (* _Vaclav Kotesovec_, Oct 28 2012 *) %o A085812 (PARI) a(n)=4^n-2^n+binomial(2*n+2,n+1)/2; \\ _Joerg Arndt_, May 10 2013 %K A085812 nonn,easy %O A085812 0,2 %A A085812 Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Jul 25 2003