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.

A152968 a(n) = A139251(n+1)/2.

Original entry on oeis.org

1, 2, 2, 2, 4, 6, 4, 2, 4, 6, 6, 8, 14, 16, 8, 2, 4, 6, 6, 8, 14, 16, 10, 8, 14, 18, 20, 30, 44, 40, 16, 2, 4, 6, 6, 8, 14, 16, 10, 8, 14, 18, 20, 30, 44, 40, 18, 8, 14, 18, 20, 30, 44, 42, 28, 30, 46, 56, 70, 104, 128, 96, 32, 2
Offset: 1

Views

Author

Omar E. Pol, Dec 16 2008, Dec 20 2008

Keywords

Comments

Also, first differences of toothpicks numbers A152998. [From Omar E. Pol, Jan 02 2009]

Examples

			Triangle begins:
.1;
.2,2;
.2,4,6,4;
.2,4,6,6,8,14,16,8;
.2,4,6,6,8,14,16,10,8,14,18,20,30,44,40,16;
....
Rows approach A151688. - _N. J. A. Sloane_, Jun 03 2009
		

Crossrefs

Formula

Write n = 2^i +j, 0 <= j < 2^i; then a(n) = Sum_k 2^(wt(j+k)-k)*binomial(wt(j+k),k). except that a(2^r-1) = 2^(r-1). - N. J. A. Sloane, Jun 03 2009, Jul 16 2009
G.f.: x*(Prod(1+x^(2^k-1)+2*x^(2^k),k=0..oo)-1)/(1+2*x). - N. J. A. Sloane, Jun 05 2009