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-2 of 2 results.

A061709 Consider a (hollow) triangle with n cells on each edge, for a total of 3(n-1) cells if n>1, or 1 cell if n=1; a(n) is number of ways of labeling cells with 0's and 1's; triangle may be rotated and turned over.

Original entry on oeis.org

1, 4, 20, 104, 752, 5600, 44224, 350592, 2800384, 22377984, 178990080, 1431721984, 11453509632, 91626496000, 733009854464, 5864066220032, 46912512917504, 375300002545664, 3002399885885440, 24019198281252864, 192153585175232512, 1537228674957312000
Offset: 1

Views

Author

N. J. A. Sloane, Jun 20 2001

Keywords

Examples

			a(2) = 4, the labelings being {000}, {001}, {011}, {111}. Some of the 20 solutions for n=3 are as follows:
..0......1.......0......1.......1.......1.......0
.0.0....0.0.....1.0....1.0.....0.0.....0.0.....1.1
0.0.0..0.0.0...0.0.0..0.0.0...1.0.0...0.1.0...0.0.0
The first solution for n = 4 is
...0
..0.0
.0...0
0.0.0.0
		

Crossrefs

Cf. A061348.

Programs

  • Mathematica
    Join[{1},Table[((2^(3(n-1)))+2^n+3*2^Floor[(3n-1)/2])/6,{n,2,30}]] (* or *) Join[{1},LinearRecurrence[{10,-8,-80,128},{4,20,104,752},30]] (* Harvey P. Dale, Apr 22 2013 *)
  • PARI
    Vec(-x*(64*x^4+16*x^3-12*x^2-6*x+1)/((2*x-1)*(8*x-1)*(8*x^2-1)) + O(x^100)) \\ Colin Barker, Mar 17 2015

Formula

a(n) = (1/6)*(2^(3*(n-1))+2^n+3*2^(floor((3*n-1)/2))) for n>1.
a(2)=4, a(3)=20, a(4)=104, a(5)=752, a(n)=10*a(n-1)-8*a(n-2)- 80*a(n-3)+ 128*a(n-4). - Harvey P. Dale, Apr 22 2013
G.f.: -x*(64*x^4+16*x^3-12*x^2-6*x+1) / ((2*x-1)*(8*x-1)*(8*x^2-1)). - Colin Barker, Mar 17 2015

A351299 a(n) is the number of distinct bipartitions of a solid triangular array of edge n, discounting inversions, reflections, and rotations.

Original entry on oeis.org

1, 2, 13, 128, 2864
Offset: 1

Views

Author

Tony Bartoletti, Feb 06 2022

Keywords

Comments

Determined by exhaustive enumeration and testing. (Related to A061348 but discounting inversions.)
Discounting inversions allows only one of these two to be counted:
1 0
0 0 1 1
Related to A061348 (number of distinct binary labels of a solid triangular array of edge n, discounting reflections and rotations) except that inversions (swapping 0's and 1's) are also discounted.
Note that since the triangular numbers T(n) exhibit the odd/even pattern o o e e o o e e and only the odd triangular numbers are unable to support a 50/50 binary labeling, this sequence is A061348(n)/2 only for odd T(n), i.e., where floor((n-1)/2) is even.

Examples

			For n = 2, the a(2)=2 solutions are
    0     1
   0 0   0 0
		

Crossrefs

Cf. A061348.

Formula

a(n) = A061348(n)/2 where floor((n-1)/2) is even.
Showing 1-2 of 2 results.