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.

A117402 Row sums of triangle A117401: a(n) = Sum_{k=0..n} 2^((n-k)*k) for n>=0.

This page as a plain text file.
%I A117402 #30 Sep 08 2022 08:45:24
%S A117402 1,2,4,10,34,162,1090,10370,139522,2654722,71435266,2718435330,
%T A117402 146299424770,11134711111682,1198484887715842,182431106853797890,
%U A117402 39271952800672710658,11955805018770498519042,5147453397489773531365378
%N A117402 Row sums of triangle A117401: a(n) = Sum_{k=0..n} 2^((n-k)*k) for n>=0.
%C A117402 a(n) is the number of 2-colored labeled graphs (as in A047863) such that the black nodes are labeled with {1,2,...,k} where k, 0<=k<=n, is the number of black nodes and the white nodes are labeled with {k+1,k+2,...,n}.  These graphs form the desired binomial poset (for the case q=2) in the "task left to the reader" in the Stanley reference below. - _Geoffrey Critzer_, May 31 2020
%D A117402 R. P. Stanley, Enumerative Combinatorics, Volume I, Second Edition, Cambridge, 2012, Example 3.18.3 e, page 323.
%H A117402 Robert Israel, <a href="/A117402/b117402.txt">Table of n, a(n) for n = 0..116</a>
%F A117402 G.f.: A(x) = Sum_{n>=0} x^n/(1-2^n*x).
%F A117402 Let E(x) = Sum_{n>=0} x^n/2^C(n,2). Then E(x)^2 = Sum_{n>=0} a(n)*x^n/2^C(n,2). - _Geoffrey Critzer_, May 31 2020
%F A117402 a(n) ~ c * 2^(n^2/4), where c = EllipticTheta[3, 0, 1/2] = JacobiTheta3(0,1/2) = 2.128936827211877158669458548544951324612516539940878092889... if n is even and c = EllipticTheta[2, 0, 1/2] = JacobiTheta2(0,1/2) = 2.128931250513027558591613402575350180853805396958448940969... if n is odd. - _Vaclav Kotesovec_, Jun 28 2021
%e A117402 A(x) = 1/(1-x) + x/(1-2x) + x^2/(1-4x) + x^3/(1-8x) + ...
%p A117402 N:= 25:
%p A117402 G:= series(add(x^n/(1-2^n*x),n=0..N),x,N+1):
%p A117402 seq(coeff(G,x,n),n=0..N)); # _Robert Israel_, Dec 11 2018
%t A117402 a[n_]:= Sum[2^((n-k)*k), {k,0,n}]; Array[a, 20, 0] (* _Amiram Eldar_, Dec 12 2018 *)
%o A117402 (PARI) a(n)=sum(k=0,n,2^((n-k)*k))
%o A117402 (Magma) [(&+[2^(k*(n-k)): k in [0..n]]): n in [0..20]]; // _G. C. Greubel_, Jun 28 2021
%o A117402 (Sage) [sum(2^(k*(n-k)) for k in (0..n)) for n in (0..20)] # _G. C. Greubel_, Jun 28 2021
%Y A117402 Cf. A117401 (triangle), A117403 (antidiagonal sums).
%K A117402 nonn
%O A117402 0,2
%A A117402 _Paul D. Hanna_, Mar 12 2006