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.

Showing 1-3 of 3 results.

A032085 Number of reversible strings with n beads of 2 colors. If more than 1 bead, not palindromic.

Original entry on oeis.org

2, 1, 2, 6, 12, 28, 56, 120, 240, 496, 992, 2016, 4032, 8128, 16256, 32640, 65280, 130816, 261632, 523776, 1047552, 2096128, 4192256, 8386560, 16773120, 33550336, 67100672, 134209536, 268419072, 536854528
Offset: 1

Views

Author

Keywords

Comments

a(n) is also the number of induced subgraphs with odd number of edges in the path graph P(n) if n>0. - Alessandro Cosentino (cosenal(AT)gmail.com), Feb 06 2009
A common recurrence of the bisections A020522 and A006516 means a(n+4) = 6*a(n+2) - 8*a(n), n>1. - Yosu Yurramendi, Aug 07 2008
Also, the decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 566", based on the 5-celled von Neumann neighborhood, initialized with a single black (ON) cell at stage zero. - Robert Price, Jul 05 2017

References

  • S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.

Crossrefs

Cf. A005418, A016116. Essentially the same as A122746.
Row sums of triangle A034877.

Programs

Formula

"BHK" (reversible, identity, unlabeled) transform of 2, 0, 0, 0, ...
a(n) = 2^(n-1)-2^floor((n-1)/2), n > 1. - Vladeta Jovovic, Nov 11 2001
G.f.: 2*x+x^2/((1-2*x)*(1-2*x^2)). - Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 25 2004
a(n) = A005418(n+1)-A016116(n+2), n>1. - Yosu Yurramendi, Aug 07 2008
a(n+1) = A077957(n) + 2*a(n), n>1. a(n+2) = A000079(n+1) + 2*a(n), n>1. - Yosu Yurramendi, Aug 10 2008
First differences: a(n+1)-a(n) = A007179(n) = A156232(n+2)/4, n>1. - Paul Curtz, Nov 16 2009
a(n) = 2*(a(n-1) bitwiseOR a(n-2)), n>3. - Pierre Charland, Dec 12 2010
a(n) = 2*a(n-1) + 2*a(n-2) - 4*a(n-3). - Wesley Ivan Hurt, Jul 03 2020

A204696 G.f.: (32*x^7/(1-2*x) + 16*x^5 + 24*x^6)/(1-2*x^2).

Original entry on oeis.org

0, 0, 0, 0, 0, 16, 24, 64, 112, 256, 480, 1024, 1984, 4096, 8064, 16384, 32512, 65536, 130560, 262144, 523264, 1048576, 2095104, 4194304, 8384512, 16777216, 33546240, 67108864, 134201344, 268435456, 536838144, 1073741824, 2147418112, 4294967296, 8589803520, 17179869184, 34359476224, 68719476736, 137438429184, 274877906944
Offset: 0

Views

Author

N. J. A. Sloane, Jan 18 2012

Keywords

Crossrefs

Essentially the same as A156232.

A350520 The number of degree-n^2 polynomials over Z/2Z that can be written as f(f(x)) where f is a polynomial.

Original entry on oeis.org

1, 1, 3, 8, 14, 32, 60, 128, 248, 512, 1008, 2048, 4064, 8192, 16320, 32768, 65408, 131072, 261888, 524288, 1048064, 2097152, 4193280, 8388608, 16775168, 33554432, 67104768, 134217728, 268427264
Offset: 0

Views

Author

Peter Kagey, Jan 03 2022

Keywords

Examples

			For n = 2, there are a(2) = 3 degree 4 polynomials of the form f(f(x)):
  x^4         = f(f(x)) when f(x) = x^2 or f(x) = x^2 + 1,
  x^4 + x     = f(f(x)) when f(x) = x^2 + x, and
  x^4 + x + 1 = f(f(x)) when f(x) = x^2 + x + 1.
		

Crossrefs

Formula

Conjecture:
a(2n) = A033991(2^(n-1)) = 4^n - 2^(n-1) for n >= 1;
a(2n+1) = 2^(2n+1) for n >= 1.
Conjecture from Hugo Pfoertner, Jan 09 2022: Terms starting at 3 coincide with {A156232}/8.

Extensions

a(0) prepended and a(11)-a(28) from Martin Ehrenstein, Jan 14 2022
Showing 1-3 of 3 results.