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.

A209435 Table T(m,n), read by antidiagonals, is the number of subsets of {1,...,n} which do not contain two elements whose difference is m+1.

Original entry on oeis.org

1, 1, 2, 1, 2, 3, 1, 2, 4, 5, 1, 2, 4, 6, 8, 1, 2, 4, 8, 9, 13, 1, 2, 4, 8, 12, 15, 21, 1, 2, 4, 8, 16, 18, 25, 34, 1, 2, 4, 8, 16, 24, 27, 40, 55, 1, 2, 4, 8, 16, 32, 36, 45, 64, 89, 1, 2, 4, 8, 16, 32, 48, 54, 75, 104, 144, 1, 2, 4, 8, 16, 32, 64, 72, 81
Offset: 0

Views

Author

David Nacin, Mar 09 2012

Keywords

Comments

1st row is the Fibonacci sequence.

Examples

			Table begins:
1, 2, 3, 5,  8, 13, 21,  34,  55,  89,  144, ...
1, 2, 4, 6,  9, 15, 25,  40,  64, 104,  169, ...
1, 2, 4, 8, 12, 18, 27,  45,  75, 125,  200, ...
1, 2, 4, 8, 16, 24, 36,  54,  81, 135,  225, ...
1, 2, 4, 8, 16, 32, 48,  72, 108, 162,  243, ...
1, 2, 4, 8, 16, 32, 64,  96, 144, 216,  324, ...
1, 2, 4, 8, 16, 32, 64, 128, 192, 288,  432, ...
1, 2, 4, 8, 16, 32, 64, 128, 256, 384,  576, ...
1, 2, 4, 8, 16, 32, 64, 128, 256, 512,  768, ...
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, ...
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, ...
................................................
		

Crossrefs

Programs

  • Mathematica
    a[n_, m_] := Product[Fibonacci[Floor[(n + i)/(m + 1) + 2]], {i, 0, m}]; Flatten[Table[a[i, j - i], {i, 0, 30}, {j, 0, i}]]

Formula

T(n,m) = Product_{i=0 to m} F(floor[(n + i)/(m + 1) + 2]) where F(n) is the n-th Fibonacci number.