Talk:Constant-recursive sequence
![]() | Mathematics C‑class Mid‑priority | |||||||||
|
![]() | Computer science C‑class Low‑importance | ||||||||||||||||
|
Be more explicit about eventually-periodic case
Two possible improvements to this article:
- First, I think we should update the article to be clearer about the case of sequences like . This is allowed as a constant-recursive sequence according to the current text (see Eventually periodic sequences) but sections like Characterization in terms of exponential polynomials do not apply for such sequences.
- Second, the article should clearly place itself relative to linear difference equation. These are basically the same concept. I think the latter article is excluding the eventually-periodic case, though. And maybe we should here too... best idea would be to dig up a reference textbook and see how they define it.
Thoughts? Happy to make some of these changes when I get the chance. Caleb Stanford (talk) 19:00, 7 November 2021 (UTC)
Eventually periodic sequences can only be excluded artificially, since " for all " is equivalent to " for all ", which satisfies the definition of being constant-recursive. I agree it's worth discussing this in the article, as well as the fact that an "eventually constant-recursive" sequence is constant-recursive, for the same reason. The sequence is described by an exponential polynomial, namely since zero to the power of zero is when the exponent only takes on integer values. Eric Rowland (talk) 23:31, 7 November 2021 (UTC)
- Thanks User:Eric Rowland, but how would you plan to represent as an exponential polynomial -- since doesn't work? To exclude eventually-periodic sequences non-artificially, we just have to require that in the satisfied linear recurrence . Caleb Stanford (talk) 23:41, 7 November 2021 (UTC)
- Good point. I checked The Concrete Tetrahedron (by Kauers and Paule), and they do require . This is artificial from the perspective of generating series because then the characterization as rational series needs an extra requirement on the degree of the numerator. But on the other hand it does fix the characterization as exponential polynomials. Eric Rowland (talk) 00:47, 8 November 2021 (UTC)
- Thanks for looking into another reference! My preference would then be to have .
Three TwoOne other justificationsfor that criterion: (i) it allows the sequence to be uniquely extended in the negative direction as well,(ii) it's implied by the "alternate definition" under "Definition" in the article, namely "the set of sequences is contained in a vector space whose dimension is finite." For we get the set of all finite-support sequences, which is infinite-dimensional.Caleb Stanford (talk) 01:06, 8 November 2021 (UTC)
- Thanks for looking into another reference! My preference would then be to have .
- I'm fine with requiring , if you want to make the change. I agree with your point (i). For your point (ii), if is the sequence , then and all higher shifts are the zero sequence, right? In that case is contained in the -dimensional space of sequences of the form . Eric Rowland (talk) 01:17, 8 November 2021 (UTC)
- Oh you are right about (ii), my mistake. OK, thanks for the discussion. Caleb Stanford (talk) 01:33, 8 November 2021 (UTC)
Given that some definitions (see (ii) and the generating series definition) point to eventually-periodic sequences naturally being considered constant-recursive, I think I'm now somewhat inclined to allow . Also, it leads to a more general definition, in terms of many of the results (e.g. closure properties). For now, I edited the article with some clarifications to the definition. Caleb Stanford (talk) 01:57, 8 November 2021 (UTC)