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

A180239 a(n) is the number of distinct billiard words with length n on an alphabet of 4 symbols.

Original entry on oeis.org

1, 4, 16, 64, 244, 856, 2776, 8356, 23032, 59200, 142624, 324484, 696256, 1422436, 2779900, 5219452, 9455596
Offset: 0

Views

Author

Fred Lunnon, Aug 18 2010

Keywords

Comments

Computation: Fred Lunnon for n <= 16 (Magma).

Examples

			For n = 5 there are a(5) = 856 words, permutations on {1,2,3,4} of the 42 words
11111, 11112, 11121, 11123, 11211, 11212, 11213, 11231, 11234, 12111, 12112, 12113, 12121, 12122, 12123, 12131, 12132, 12134, 12212, 12213, 12221, 12222, 12223, 12231, 12232, 12234, 12311, 12312, 12313, 12314, 12321, 12322, 12323, 12324, 12331, 12332, 12333, 12334, 12341, 12342, 12343, 12344.
		

Crossrefs

See A005598 for 2 symbols, A180238 for 3 symbols.

Programs

  • Magma
    // See Links.

Formula

Expensive linear programming inequality analysis may be reduced by projecting each candidate word onto the axis hyperplanes, yielding m new (m-1)-symbol words which are necessarily also billiard, and can be validated from a precomputed list for dimension m-1. If any of these fails, the candidate fails; and if only one candidate remains after n-th symbols are attached to a valid (n-1)-length word, there is still no need for inequality analysis -- the ball cannot avoid bouncing next against some wall pair!

A180437 a(n) counts the distinct cubical (on alphabet of 3 symbols) billiard words with length n, acting as prefix to just k = 1 such word of length n+1 (that is, not "special").

Original entry on oeis.org

0, 0, 0, 6, 24, 78, 186, 372, 876, 1632, 3024, 5310, 8496, 13344, 21186, 31878, 46752, 66936, 94800, 130194
Offset: 0

Views

Author

Fred Lunnon, Sep 05 2010

Keywords

Comments

By symmetry under reversal, a(n) also counts length n cubical billiard words acting as suffix to just k length n+1 cubical billiard words. The attached program counts k-special words for k = 1,...,m, where m = 3 denotes the size of the alphabet.

Crossrefs

Programs

  • Magma
    // See Links.

A180438 a(n) counts the distinct cubical (on alphabet of 3 symbols) billiard words with length n, acting as prefix to just k = 2 such words of length n+1 (that is, a subset of "special").

Original entry on oeis.org

0, 0, 6, 18, 36, 78, 150, 306, 420, 792, 1338, 2082, 3228, 4830, 7050, 9954, 13920, 18738, 24666, 32610
Offset: 0

Views

Author

Fred Lunnon, Sep 05 2010

Keywords

Comments

By symmetry under reversal, a(n) also counts length n cubical billiard words acting as suffix to just k length n+1 cubical billiard words. Computation: Fred Lunnon for 0 <= n <= 19 (Magma). The program in A180437 counts k-special words for k = 1, ..., m, where m = 3 denotes the size of the alphabet.

Crossrefs

A180439 a(n) counts the distinct cubical (on alphabet of 3 symbols) billiard words with length n, acting as prefix to just k = 3 such words of length n+1 (that is, a subset of "special").

Original entry on oeis.org

1, 3, 3, 3, 9, 15, 33, 63, 153, 219, 261, 351, 585, 879, 933, 1233, 1401, 1899, 2301, 3111
Offset: 0

Views

Author

Fred Lunnon, Sep 05 2010

Keywords

Comments

By symmetry under reversal, a(n) also counts length n cubical billiard words acting as suffix to just k length n+1 cubical billiard words. Computation: Fred Lunnon for 0 <= n <= 19 (Magma). The program in A180437 counts k-special words for k = 1,...,m, where m = 3 denotes the size of the alphabet.

Crossrefs

Showing 1-4 of 4 results.