For every finite integer sequence there's a pattern- source?

In summary, it is possible to find a generating formula in the form of a polynomial for a finite sequence of positive integers. This can be done using methods such as Lagrange Interpolation, Newton's Identities, or Vandermonde interpolation. However, the uniqueness of the generating function is not guaranteed and may depend on certain conditions or constraints. Further exploration and research is needed to fully understand the properties and limitations of generating formulas for finite sequences of integers.
  • #1
nomadreid
Gold Member
1,670
204
I have in the back of my head the statement that for every finite sequence of positive integers there exists a pattern (i.e., a generating formula). While this sounds reasonable, I am not sure whether it is true, and if it is true, what the source for this statement is, and how the correct statement is correctly formulated. A somewhat stronger statement would be that for every finite sequence of integers there is a pattern that one can theoretically find, and comments on that would also be appreciated if the first statement is correct.
 
Mathematics news on Phys.org
  • #2
nomadreid said:
I have in the back of my head the statement that for every finite sequence of positive integers there exists a pattern (i.e., a generating formula). While this sounds reasonable, I am not sure whether it is true, and if it is true, what the source for this statement is, and how the correct statement is correctly formulated. A somewhat stronger statement would be that for every finite sequence of integers there is a pattern that one can theoretically find, and comments on that would also be appreciated if the first statement is correct.
Like you, I'm not sure it would be true in general, but for some sequences of integers, a generating polynomial could be found. For the sequence ##\{a_1, a_2, \dots, a_n\}##, plot the points ##(1, a_1), (2, a_2), \dots, (n, a_n)##. In many cases it would be possible to find the n coefficients of a polynomial of degree n - 1 that passes through these points.
 
  • Like
Likes nomadreid and Delta2
  • #3
nomadreid said:
I have in the back of my head the statement that for every finite sequence of positive integers there exists a pattern (i.e., a generating formula). While this sounds reasonable, I am not sure whether it is true, and if it is true, what the source for this statement is, and how the correct statement is correctly formulated.
If we interpret "generating formula" to mean a polynomial, it is true that there exists a polynomial f(x) such f(k) gives the kth member of the sequence. This can be done for any finite sequence of real numbers by using the Lagrange interpolating polynomial http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html. For example, In the notation of that article the ##(x_i,y_i)## could be (1,3), (2,5), (3,13) to indicate the sequence {3,5,13}.

The function that generates a given sequence is not unique. For example, if you are given the sequence {y1,y2,..yn} you could find a polynomial that generates the sequence {y1,y2,..yn,8} and another polynomial that generates the sequence {y1,y2,..yn,9}. Both polynomials generate {y1,y2,..yn}. If we want to make a claim about a unique generating function then we have to impose some conditions, such as seeking a polynomial of smallest degree. There are also non-polynomial functions that generate a given sequence.
 
  • Like
Likes nomadreid and Delta2
  • #4
another approach:

if you want to interpret your finite positive integer sequence as being un-normalized power sums, i.e.

##s_1 = \sum_{i=1}^n \lambda_i##
##s_2 = \sum_{i=1}^n \lambda_i^2##
##\vdots##
##s_n = \sum_{i=1}^n \lambda_i^n##

and in general:
##s_k = \sum_{i=1}^n \lambda_i^k##

(whereas a proper power sum would be ##s_k^* = \frac{1}{n}\sum_{i=1}^n \lambda_i^k## )

you can directly find a monic polynomial that fits to these via Newton's Identities.

- - - -
questions of uniqueness get tied into this via a Hankel Matrix formulation. The original result that tells you the number of roots and the mixture of real vs complex is due to Sylvester. If you normalize these sums to become a proper power sum, you can consider this as an instance of the Hamburger Moment Problem:

https://en.wikipedia.org/wiki/Hamburger_moment_problem
 
  • Like
Likes nomadreid
  • #5
Mark44 said:
Like you, I'm not sure it would be true in general, but for some sequences of integers, a generating polynomial could be found. For the sequence ##\{a_1, a_2, \dots, a_n\}##, plot the points ##(1, a_1), (2, a_2), \dots, (n, a_n)##. In many cases it would be possible to find the n coefficients of a polynomial of degree n - 1 that passes through these points.
It is always possible to do that, and you only have to solve a linear equation system which will always have a unique solution (or an infinite set if you use polynomials with a higher degree).
 
  • Like
Likes nomadreid
  • #6
Thanks, Stephen Tashi, StoneTemplePython, mfb and Mark44. The Lagrange Interpolating Polynomial (indicated by Stephen Tashi) appears to be the most direct method given of these answers [ it is this which I presume (?) mfb is referring to in saying "it is always possible..."]; StoneTemplePython's method is also interesting. If I understand correctly (which is far from guaranteed), the Lagrange Interpolation is much more direct theoretically whereas the Newton Identities approach might be more computationally efficient in practice.
 
  • #7
nomadreid said:
If I understand correctly (which is far from guaranteed), the Lagrange Interpolation is much more direct theoretically whereas the Newton Identities approach might be more computationally efficient in practice.

Actually both the lagrange interpolation approach and Newton's identities have similar complexity and both are known for numeric stability issues.

It's quite common, and desirable, to try to characterize probability distributions by their moments, graphs by their cycles, matrices by their traces (i.e. their spectral properties if we're dealing with scalars in ##\mathbb R, \mathbb C, \mathbb Q##) and some other stuff. That is what I was getting at.
- - - -
If you know linear algebra, a unifying theme in all this is to look into Vandermonde matrices. Any Hankel matrix can be decomposed into ##\mathbf V^T \mathbf {DV}## (where ##\mathbf D## is diagonal and ##\mathbf V## is vandermonde -- note that is a transpose sign not ##\mathbf V^*## on purpose as it is still a non-conjugate transpose in the case of complex scalars.)

If you are so interested you can skip the theory of Lagrange interpolation and just look up Vandermonde interpolation. (After playing around with the basis its the same thing basically.) e.g. see this: https://math.stackexchange.com/ques...olation-formula-from-vandermondes-determinant
 
  • Like
Likes nomadreid
  • #8
Super! Thanks again, StoneTemplePython.
 

1. What does the statement "For every finite integer sequence there's a pattern" mean?

The statement means that for any given set of finite integers, there is a predictable pattern or rule that can be used to determine the next number in the sequence.

2. How is this statement relevant to the field of science?

This statement is relevant to science because it demonstrates the idea of cause and effect, which is a fundamental principle in many scientific disciplines. It also highlights the concept of predictability, which is essential in understanding and studying natural phenomena.

3. Is this statement universally true for all integer sequences?

No, this statement is not universally true for all integer sequences. There are some sequences that do not follow a specific pattern or rule, or their patterns may be too complex for us to understand or predict.

4. Can this statement be applied to other types of sequences besides integer sequences?

Yes, this statement can be applied to other types of sequences, such as geometric sequences, arithmetic sequences, and even non-mathematical sequences like DNA sequences. As long as the sequence is finite, there is likely a pattern or rule that can be identified.

5. How is the concept of patterns and sequences used in scientific research?

The concept of patterns and sequences is used in scientific research in various ways. It can be used to identify trends and relationships between different variables, to make predictions and hypotheses, and to develop mathematical models to better understand natural processes. It is also used in data analysis and pattern recognition to find patterns and relationships in large datasets.

Similar threads

Replies
66
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
4K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
Replies
2
Views
982
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
9
Views
4K
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
Back
Top