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

A171003 A lower bound for A094837.

Original entry on oeis.org

1, 2, 4, 9, 18, 40, 100, 225, 525, 1225, 3136, 7056, 17640, 44100, 108900, 261360, 637065, 1656369, 4008004, 10020010, 25050025, 64128064, 155739584, 393853824, 1012766976, 2538950544, 6347376360, 15774544800, 41408180100
Offset: 1

Views

Author

John P. Linderman, Sep 01 2010

Keywords

Comments

See Perl script for explanation.

A094838 The longest subsequence length that provides an example for A094837.

Original entry on oeis.org

1, 1, 2, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 12, 12, 13, 13, 14
Offset: 1

Views

Author

Russ Cox, Jun 13 2004

Keywords

Extensions

a(13)-a(17) from John P. Linderman, Sep 01 2010
a(18)-a(25) from Akshay Bansal, Jul 09 2017

A138901 Partial sums of A094837.

Original entry on oeis.org

1, 3, 7, 17, 41, 87, 187, 412, 937, 2162, 5298, 12354, 29994, 74094, 182994, 444354, 1081419, 2737788, 6745792, 16765802, 41815827, 105943891, 261683475, 655537299, 1668304275
Offset: 1

Views

Author

Jonathan Vos Post, May 16 2008

Keywords

Comments

3, 7, 17, 41, 937 and 105943891 are primes.

Examples

			a(12) = 1 + 2 + 4 + 10 + 24 + 46 + 100 + 225 + 525 + 1225 + 3136 + 7056 = 12354.
		

Crossrefs

Cf. A094837.

Extensions

a(4)=17 added and a(13)-a(25) from Akshay Bansal, Jul 08 2017

A094858 Maximal number of longest common subsequences between any two binary strings of length n (Version 2).

Original entry on oeis.org

1, 2, 2, 4, 4, 6, 8, 11, 15, 20, 26, 36, 51
Offset: 1

Views

Author

Guenter Stertenbrink (Sterten(AT)aol.com), Jun 14 2004

Keywords

Comments

Definitions: S is a subsequence of X if S can be obtained by deleting some (not necessarily adjacent) entries of X.
S is a longest common subsequence of X and Y if S is a subsequence of X, S is a subsequence of Y and for any T, if T is a subsequence of X and of Y, then |T| <= |S|. Let LCS(X,Y) = length of any longest common subsequence of X and Y.
For each common subsequence S of X and Y, there may be several ways to delete entries from X and from Y to get S, but in this version of the problem we do not take this into account (cf. A094837). Let F(X,Y) be the number of different choices for S, without regard to where it appears in X and Y. Sequence gives max F(X,Y) over all choices for binary strings X and Y of length n.
For this version of the problem using a larger alphabet helps (cf. A094859, A094863).
For an alphabet of size m = 2, 3 or 4, the maximum appears to be attained for X=123..m123..m..., except for some small values of n. For m>4 it seems that only 4 letters should be chosen in X,Y to get the maximum, while the other letters are ignored.
Hill-climbing gives the following lower bounds for the next few terms: 26,36,50,70,96,141,192.

Crossrefs

A094824 Maximum number of longest common substrings of two binary sequences of length n.

Original entry on oeis.org

1, 2, 2, 2, 3, 3, 4, 6, 6, 7, 7, 8, 8, 10, 11, 12, 14
Offset: 1

Views

Author

W. Edwin Clark, Jun 12 2004

Keywords

Comments

A substring of a string is a subsequence of contiguous symbols in the string. For example, 00 is a substring of 001 but not of 010. For this sequence we do not count the multiplicity of occurrence of common substrings.

Examples

			a(7) = 4 since the two strings 0001011 and 0011010 have as maximum length common substrings the 4 strings 011,001,101,010 and computer search shows that no other pair of strings of length 7 has more than 4 common maximum length substrings.
		

Crossrefs

See A094837 for a related sequence.

Extensions

a(1)-a(12) verified and extended to a(13), a(14) by John W. Layman, Jun 17 2004
a(15)-a(17) from Sean A. Irvine, Apr 17 2019

A094291 a(n) = maximal value of C(i, j) * C(n-j, n-i) for 0 <= j <= i <= n.

Original entry on oeis.org

1, 2, 4, 9, 18, 40, 100, 225, 525, 1225, 3136, 7056, 17640, 44100, 108900, 261360, 637065, 1656369, 4008004, 10020010, 25050025, 64128064, 155739584, 393853824, 1012766976, 2538950544, 6347376360, 15868440900, 41408180100, 102252852900
Offset: 1

Views

Author

Hugo van der Sanden, Jun 15 2004

Keywords

Comments

This is the number of longest common subsequences between two binary strings of the form 00...011...1.
This is a lower bound for A094837, equivalent to choosing first string (x "a"s followed by (n-x) "b"s) and second string (y "a"s followed by (n-y) "b"s).

Examples

			a(3) is maximal with x=1, y=2, giving a(3) = C(2,1) * C(3-1,3-2). This is equivalent to the number of instances of length-2 common subsequences between "aab" and "abb".
		

Crossrefs

A171001 Binomial(n-k,k)^2 where k = ceiling(n/4).

Original entry on oeis.org

1, 0, 1, 4, 9, 9, 36, 100, 225, 400, 1225, 3136, 7056, 15876, 44100, 108900, 245025, 627264, 1656369, 4008004, 9018009, 25050025, 64128064, 153165376, 344622096, 1012766976, 2538950544, 6009350400, 13521038400, 41408180100, 102252852900, 240407818596
Offset: 0

Views

Author

John P. Linderman, Aug 31 2010

Keywords

Crossrefs

A lower bound for A094837. Cf. A171002, A171003, A171006.

A171006 Binomial(n-k-1,k) * binomial(n-k,k+1) where k = ceiling(n/4).

Original entry on oeis.org

0, 0, 0, 1, 6, 1, 12, 60, 200, 150, 700, 2450, 7056, 8820, 31752, 97020, 261360, 426888, 1359072, 3864861, 10020010, 19324305, 57257200, 155739584, 393853824, 851005584, 2405321568, 6347376360, 15774544800, 37026362100, 101219995800, 261312846300
Offset: 0

Views

Author

John P. Linderman, Sep 02 2010

Keywords

Crossrefs

Another lower bound for A094837. Cf. A171001, A171002, A171003.
Showing 1-8 of 8 results.