Jump to content

Talk:Constant-recursive sequence

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Caleb Stanford (talk | contribs) at 20:38, 9 November 2021 (add WP compsci). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconMathematics C‑class Mid‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-priority on the project's priority scale.
WikiProject iconComputer science C‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Things you can help WikiProject Computer science with:

Be more explicit about eventually-periodic case

Two possible improvements to this article:

  • 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)[reply]

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)[reply]

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)[reply]
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)[reply]
Thanks for looking into another reference! My preference would then be to have . Three Two One other justifications for 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)[reply]
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)[reply]
Oh you are right about (ii), my mistake. OK, thanks for the discussion. Caleb Stanford (talk) 01:33, 8 November 2021 (UTC)[reply]

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)[reply]