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.

A206427 Square array 2^(m-1)*(3^n+1), read by antidiagonals.

Original entry on oeis.org

1, 2, 2, 5, 4, 4, 14, 10, 8, 8, 41, 28, 20, 16, 16, 122, 82, 56, 40, 32, 32, 365, 244, 164, 112, 80, 64, 64, 1094, 730, 488, 328, 224, 160, 128, 128, 3281, 2188, 1460, 976, 656, 448, 320, 256, 256, 9842, 6562, 4376, 2920, 1952, 1312, 896, 640, 512, 512
Offset: 0

Views

Author

Marcus Jaiclin, Feb 07 2012

Keywords

Comments

Rectangular array giving the number of 1's in any row of Pascal's Triangle (mod 3) whose row number has exactly m 1's and n 2's in its ternary expansion (listed by antidiagonals).
a(m,n) is independent of the number of zeros in the ternary expansion of the row number.
a(m,n) gives a non-recursive formula for A206424.

Examples

			Initial 5 X 5 block of entries (upper corner is (m,n)=(0,0), m increases down, n increases across):
1    2    5   14   41
2    4   10   28   82
4    8   20   56  164
8   16   40  112  328
16  32   80  224  656
Pascal's Triangle (mod 3), row numbers in ternary:
1     <=  Row 0, m = 0, n = 0, 2^(-1)(3^0 + 1) = #1's = 1
1 1     <=  Row 1, m = 1, n = 0, 2^0(3^0 + 1) = #1's = 2
1 2 1     <=  Row 2, m = 0, n = 1, 2^(-1)(3^1 + 1) = #1's = 2
1 0 0 1     <=  Row 10, m = 1, n = 0, 2^0(3^0 + 1) = #1's = 2
1 1 0 1 1     <=  Row 11, m = 2, n = 0, 2^1(3^0 + 1) = #1's = 4
1 2 1 1 2 1     <=  Row 12, m = 1, n = 1, 2^0(3^1 + 1) = #1's = 4
1 0 0 2 0 0 1     <=  Row 20, m = 0, n = 1, 2^(-1)(3^1 + 1) = #1's = 2
1 1 0 2 2 0 1 1     <=  Row 21, m = 1, n = 1, 2^0(3^1 + 1) = #1's = 4
1 2 1 2 1 2 1 2 1     <=  Row 22, m = 0, n = 2, 2^(-1)(3^2 + 1) = #1's = 5
1 0 0 0 0 0 0 0 0 1     <=  Row 100, m = 1, n = 0, 2^0(3^0 + 1) = #1's = 2
		

Crossrefs

Formula

a(m, n) = 2^(m - 1)(3^n + 1).