Talk:Constant-recursive sequence
Constant-recursive sequence was nominated as a Mathematics good article, but it did not meet the good article criteria at the time (April 18, 2024, reviewed version). There are suggestions on the review page for improving the article. If you can improve it, please do; it may then be renominated. |
This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||
|
Constant-recursive sequence (final version) received a peer review by Wikipedia editors, which on 1 March 2022 was archived. It may contain ideas you can use to improve this article. |
Constant-recursive sequence (final version) received a peer review by Wikipedia editors, which on 19 December 2021 was archived. It may contain ideas you can use to improve this article. |
Be more explicit about eventually-periodic case
[edit]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)
Hasse diagram
[edit]As currently defined, the set of order- sequences doesn't include the set of order- sequences, but the Hasse diagram implies that it does. The diagram can be fixed by writing "order " and so on. Also, a vertical ellipsis might look nicer than a horizontal ellipsis for the omitted orders. Eric Rowland (talk) 17:33, 13 November 2021 (UTC)
- Good points. Fixed now! Caleb Stanford (talk) 19:56, 13 November 2021 (UTC)
Rename and merges (November 2021)
[edit]Per consensus at WT:WPM#Linear recurrence relations and discussion here, I've renamed the article from constant-recursive sequence to the clearer linear recurrence with constant coefficients, and am adding merge suggestions from:
1. Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients
Next TODO in editing the page is to complete the merge from the above two articles. Feel free to discuss here. Caleb Stanford (talk) 03:24, 21 November 2021 (UTC)
- I don't see good motivation for renaming the article. The entire article is about sequences, not recurrences. Eric Rowland (talk) 16:46, 21 November 2021 (UTC)
- I agree and this was a problem when I was trying to update the article. But I didn't want to go against what people were telling me was the WP:Consensus. What do you suggest here? Maybe having two articles, this one for sequences, and one for methods of solving linear recurrences that this one can point to? Or merging the content in here and changing the name? At any rate, having 3 articles on the topic does seem wrong to me. Caleb Stanford (talk) 17:15, 21 November 2021 (UTC)
A possible proposal:
1. Name this article linear-recursive sequence (gives us the adjective form linear-recursive which the other names do not offer and is used extensively throughout the article)
2. Merge the other two articles into a separate linear recurrence with constant coefficients
@D.Lazard: --- Your input would also be valuable here. As Eric points out, the whole article is about sequences, not solving recurrences, so the new name does not fit. I am thinking that having 2 articles would therefore be best as above. Caleb Stanford (talk) 13:03, 22 November 2021 (UTC)
I agree that 3 articles is a lot, but these objects are so common that they occur in lots of different areas, so different people have quite different ways of thinking about them and different aspects they are interested in. A similar situation exists with P-recursive equation, Polynomial solutions of P-recursive equations, Holonomic function, and Linear differential equation (though in this case hopefully we can reduce the number of articles). Linear difference equation seems to be focused on models and stability, which is different than what combinatorists and computer scientists might be interested in. I propose leaving it as its own article and trying to avoid too much duplication where it makes sense. Most of the material under Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients could be merged into one of the other two articles since Recurrence relation is quite long.
As for terminology, the reasoning "linear-recursive is used extensively throughout the article" applies equally well to constant-recursive because all instances of "constant-recursive" were replaced with "linear-recursive" when the title was changed. So I still don't see good motivation for the recent renaming. The unfortunate fact is that there is no one established name for these sequences. "linear-recursive" is not great because it doesn't distinguish between recurrences with constant coefficients and recurrences with polynomial coefficients where also appear linearly. "constant-recursive"/"C-recursive"/"C-finite" are used less widely but have the advantages that they make this distinction and they parallel "polynomial-recursive"/"P-recursive". Eric Rowland (talk) 16:37, 22 November 2021 (UTC)
- I am fine with reverting back to the terminology constant-recursive based on your argument, and merging Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients into Linear difference equation. I still favor renaming Linear difference equation to Linear recurrence with constant coefficients. Waiting for further discussion in case D.Lazard wants to chime in, otherwise I will go ahead and take this direction in a couple of days. Caleb Stanford (talk) 17:34, 22 November 2021 (UTC)
Missing from current article: discussion of integer/rational/algebraic/real/complex
[edit]If D is a subset of complex numbers, there are two possible definitions for a constant-recursive sequence over D:
- (Stronger def) A sequence satisfying a linear recurrence with coefficients in D - (Weaker def) A sequence satisfying a linear recurrence with complex coefficients, such that all numbers in the sequence happen to lie in D
So we should probably clarify this, and state if/under what conditions the two definitions are equivalent. Caleb Stanford (talk) 21:02, 25 November 2021 (UTC)
- This would be good, although I'm not sure much is known. Do you know a reference? Eric Rowland (talk) 17:42, 26 November 2021 (UTC)
- I think it is well-known at least for integers, rational, algebraic, and real numbers. I will do some digging for a reference sometime. (A few other additions to the articles need good references too, mainly the closure properties.) Caleb Stanford (talk) 19:11, 26 November 2021 (UTC)
To-do list from peer review (Jan 2022)
[edit]Skipped
[edit]- "The article reasonably covers the topic, and does not contain obvious omissions or inaccuracies." This one needs review from a subject-matter expert.
- "The article contains supporting materials where appropriate." I think a video illustrating the concept would be helpful, but the article ought to pass this criterion even without one.
Done
[edit]- Pass to improve inline citations
- "The article is suitably referenced, with inline citations." I think this is the weak point of the article, and indeed of many Wikipedia articles about mathematical concepts. Not only are there important uncited statements in the article (although many of them can be verified by readers with sufficient mathematical background), as far as I can tell, all sources cited in the article are primary. The one thing that would improve the article most, in my opinion, is more secondary sources.
- Every citation should have an exact page if possible, a page range should only be used if the claim(s) cited cannot be verified by reading any single page (and even then it should be as short as possible). I haven't checked whether the article complies with this, I just wanted to mention that. I see that the Reachability Problems source is used several times, you can provide a separate page number for each of them by using {{sfn}} or {{r}} but given that the page range isn't long it may be more trouble that it's worth.
- It would be ideal if there were a source for every definition and every example, to verify that they are notable and therefore relevant to the article. Of particular interest would be a source for the fact that every eventually periodic sequence is constant-recursive, given that it causes a minor headache in Definition. That said, I don't think it's necessary.
- "The article is suitably referenced, with inline citations." I think this is the weak point of the article, and indeed of many Wikipedia articles about mathematical concepts. Not only are there important uncited statements in the article (although many of them can be verified by readers with sufficient mathematical background), as far as I can tell, all sources cited in the article are primary. The one thing that would improve the article most, in my opinion, is more secondary sources.
- Pass to improve the writing and make more accessible.
- The prose is generally good, but it feels too textbook-like to me. Aside from the lead, the article uses a distinctive writing style that is more characteristic of a math textbook than of an encyclopedia.
- "The article presents its content in an appropriately understandable way." I think the write one level down rule is the best way to assess this, but I don't know at which level this subject is typically studied. If graduate school, I'd say it passes. If undergraduate, it fails.
- The use of the notation for an element of a sequence rather than the more common can confuse readers, especially given that most (all?) articles linked from this one use the common notation. I propose changing to and to .
- The article has a defined structure.
- The term "closed under" is used in the article without being wikilinked. Consider linking it in every section where it appears (the lead, In terms of vector spaces and Closure properties).
- The phrase "note that" is used in the article twice. Per MOS:NOTE, it should be removed.
- In Definition, the phrase "eventually-periodic sequences... which are disallowed by some authors" makes it sound like said authors explicitly disallow them, which is not the case (rather, they require that , which incidentally disallows such sequences). I think this sentence and the next one could use a rewrite.
- Speaking of which, the citations in Definition don't have a page number. I believe it should be page 66 in The Concrete Tetrahedron and page 1 in Skolem's Problem.
- I've never seen the notation before, it should be replaced by a more common notation such as , or better yet, (which mirrors the one used in the Sequence article). is alright as long as you explain that includes zero.
- In the table in Closure properties, why is "Generating Function Equivalent" in title case?
- In Decision problems, "see closure properties" should be linked.
Discussion
[edit]Post any comments below. Caleb Stanford (talk) 18:03, 18 January 2022 (UTC)
I disagree that is preferable to . The OEIS — the definitive site for sequences on the internet — consistently uses , not subscripts (see https://oeis.org/A000045 for example). Also, sequences are functions, so is more appropriate and doesn't introduce extra notation. I don't see any possible cause of confusion. I think we should revert the recent change. Eric Rowland (talk) 00:21, 27 January 2022 (UTC)
- Hmm, we may need another opinion on this. I don't have a strong preference either way, but in my experience subscript notation is more common. The page Sequence uses subscript notation. As for "sequences are functions", subscripts are functions too, set-theoretically. You could replace all subscript notation with functions but that wouldn't always be clarifying. For example, you could represent a quadratic polynomial as , but I don't think that would be helpful. Caleb Stanford (talk) 03:45, 27 January 2022 (UTC)
- This was my suggestion, so I should weigh in on this. I have suggested this change for the following reasons:
- Like Caleb Stanford, the subscript notation is more common in my experience.
- People who don't have much mathematical background (and even some people who do) typically think of sequences as a separate type of entity, not as functions whose domain is the natural numbers.
- The sources of this article use the subscript notation.
- As Caleb Stanford noted, other Wikipedia articles use the subscript notation.
- As for your comments:
- The OEIS displays mathematical content, including sequenes, in ASCII, while Wikipedia uses uses LaTeX. I don't think we can regard it as a definitive guide for notation.
- From my personal experience, people without postsecondary mathematical background don't know that sequences are functions or that they can be written using function notation. Per WP:MTAU, such readers are part of our target audience to the greatest possible extent.
- Eric Rowland, does this address your objections? Streded (talk) 04:10, 27 January 2022 (UTC)
To-do list for Wikipedia:Good article criteria (June 2022)
[edit]Trying to bring this to GA status eventually. Caleb Stanford (talk) 22:32, 22 June 2022 (UTC)
Primary to-dos
[edit]- Improve inline citations further
- We need a few more good textbook references to draw from.
- Concrete Tetrahedron is a solid reference, but covers only about half of the material in the article (mostly the more elementary stuff). Also, because it doesn't allow eventually-periodic we should avoid relying on it too heavily for citing results.
- I took a look at Concrete Mathematics but it doesn't cover most of the material in the article (in fact we could probably remove it from Further Reading).
- Done
- Probably some combinatorics and generating functions textbooks will cover the relevant material, that's where I will look first.
- Done (added ref to Stanley)
- We need references for every line in the Closure Properties table.
- Done (added refs to Stanley)
- Finally, a few statements in the lead still need references.
- Not done per MOS:LEADCITE
GA criteria list
[edit]0 | Quick fail |
0a | It is a long way from meeting any one of the six good article criteria |
0b | It contains copyright violations |
0c | It has, or needs, cleanup banners that are unquestionably still valid. These include {{cleanup}}, {{POV}}, {{unreferenced}} or large numbers of {{citation needed}}, {{clarify}}, or similar tags (See also {{QF}}) |
0d | It is not stable due to edit warring on the page |
0e | It has issues noted in a previous GA review that still have not been adequately addressed, as determined by a reviewer who has not previously reviewed the article |
1 | Well-written |
1a | the prose is clear, concise, and understandable to an appropriately broad audience; spelling and grammar are correct |
1b | it complies with the Manual of Style guidelines for lead sections, layout, words to watch, fiction, and list incorporation |
2 | Verifiable with no original research |
2a | it contains a list of all references (sources of information), presented in accordance with the layout style guideline |
2b | reliable sources are cited inline. All content that could reasonably be challenged, except for plot summaries and that which summarizes cited content elsewhere in the article, must be cited no later than the end of the paragraph (or line if the content is not in prose) |
2c | it contains no original research |
2d | it contains no copyright violations or plagiarism |
3 | Broad in its coverage |
3a | it addresses the main aspects of the topic |
3b | it stays focused on the topic without going into unnecessary detail (see summary style) |
4 | Neutral: it represents viewpoints fairly and without editorial bias, giving due weight to each |
5 | Stable: it does not change significantly from day to day because of an ongoing edit war or content dispute |
6 | Illustrated, if possible, by media such as images, video, or audio |
6a | media are tagged with their copyright statuses, and valid non-free use rationales are provided for non-free content |
6b | media are relevant to the topic, and have suitable captions |
GA Review
[edit]GA toolbox |
---|
Reviewing |
- This review is transcluded from Talk:Constant-recursive sequence/GA1. The edit link for this section can be used to add comments to the review.
Nominator: Caleb Stanford (talk · contribs) 00:46, 14 April 2024 (UTC)
Reviewer: Dedhert.Jr (talk · contribs) 03:26, 15 April 2024 (UTC)
I'm not an expert in this field, but judging from my perspective, I'm aware this is not ready to become a potential GA. I will give a list, though it may be either quickfail this article or give a chance to improve them. Probably this needs a second opinion strongly. Dedhert.Jr (talk) 03:26, 15 April 2024 (UTC)
Another potential technical GA number theory article, I suppose, may be possible to do quickfailed. There are many problems, some of which may be listed below:
- One such problem is that this article has some unsourced paragraphs: in the definition, equivalent definition, and many more sections (GACR2b). Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- In progress Added template:cn tags for now to offending paragraphs. Caleb Stanford (talk) 20:18, 18 April 2024 (UTC)
- In the lead, I can see sequences mathematically written after naming the sequences. Why can't we simply remove them, making the reader understand the abstraction at the beginning? (GACR1b) We already have an examples section containing a list of sequences in the table, though it may discussed further below. Also, I do not understand why you need to repeat defining the topic twice in both the lead and definition sections. Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Done Yes that is probably better. The reason I define it twice is that the definition section clarifies that the sequence and the coefficients range over the same domain (sequence of integers, rationals, reals, ...) but it's possible this could be more clear or could be structured differently. Caleb Stanford (talk) 20:28, 18 April 2024 (UTC)
- Question: To clarify, are you suggesting the floats and examples be removed from the lead? Caleb Stanford (talk) 20:28, 18 April 2024 (UTC)
- Same section here, I wonder if you could put the-unsolved-problem-template, somewhere the section mentions it. Same reason for those two images in the lead. Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Definition: The math display="block" already gives an indentation of the formula, so why do you need to add a colon? Do you also need to emphasize the boldface word order? Do you need to bracket the sentence describing another nickname of the equation? Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Done for all of these. Caleb Stanford (talk) 20:18, 18 April 2024 (UTC)
- Examples: I do not understand here. Why do you need tables, whereas you also need more subsections to describe every cell in that table? Also, they are unsourced (GACR2b). Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Partly done I added an OEIS link for the table. Is this sufficient, or do we need OEIS links at each individual row, or is OEIS insufficient? Caleb Stanford (talk) 20:28, 18 April 2024 (UTC)
- Equivalent definitions: Is it fine to write "", instead of writing "less than or equal to ", as it may not be helpful for non-mathematical readers (GACR1a)? A "non-homogeneous linear recurrence" phrase may not need to be emphasized in boldface per MOS:BOLDTITLE.
- Equivalent definitions, the images: Many tables may considered as the images with the following captions, a somewhat clever way but aesthetically abysmal after the gap appearance on the right side. Maybe I suggest cropping the formulas and uploading them (or do you have an alternative way, or whatever). Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Done I have manually modified the widths although it's a bit annoying. I haven't found a good alternative. These could also be replaced with wikitables with float right. Caleb Stanford (talk) 20:18, 18 April 2024 (UTC)
- Closed-form characterization: Pay attention to the MOS:EXPLAINSYMBOLS, suggesting that representing the symbols mathematically by using a list of bullets may cause excessive vertical space, which is instead of recommending the usage of prose. Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Done modulo adding 1 additional reference. Caleb Stanford (talk) 20:18, 18 April 2024 (UTC)
- Generalizations: I recommended you to read MOS:BULLETS, suggesting that the list of bullets start with the sentence case, and some other points described in that manual of style. Also, sources are required here (GACR3b). Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Done I removed the bullets and added two citations. However, they were already sentence case, correct? Caleb Stanford (talk) 20:40, 18 April 2024 (UTC)
Others are the comments that may suggest that you could add the parameter "inline" for every math formula in the inline paragraph, avoiding the excessive vertical spaces.
Also, in the case of references, does Stanley 2011 have a publisher, as the source is said to be reliable if there are exist of authors, years published, and the publisher?
- Stanley does have a publisher, it's Cambridge studies in advanced mathematics (listed). Caleb Stanford (talk) 20:40, 18 April 2024 (UTC)
I think this quickfailed the article, but I probably need a second opinion, stating this strongly and adding some more comments, or another user who gives opposition to these comments. Dedhert.Jr (talk) 10:13, 17 April 2024 (UTC)
- Second opinion requested A second opinion particularly from a mathematics article expert would be appreciated! Caleb Stanford (talk) 20:40, 18 April 2024 (UTC)
- On second thought, I think this could be quickfailed due to the failure of meeting one of GA criterias. Dedhert.Jr (talk) 16:29, 18 April 2024 (UTC)
- Question: Can you clarify which criterias are still not satisfied and why? I know that the citations part is still in progress. Caleb Stanford (talk) 20:40, 18 April 2024 (UTC)
@Dedhert.Jr: Thank you for the review! I will address and fix all feedback inline (or if anyone else gets to it before me!) Caleb Stanford (talk) 19:02, 18 April 2024 (UTC)
@Dedhert.Jr: I addressed the comments and asked some specific questions above. Caleb Stanford (talk) 20:40, 18 April 2024 (UTC)
Degeneracy
[edit]@GaseousButter: I corrected your edit as I think you meant "if k = 1" not "if n = 1", but let me know if I got the result wrong! Caleb Stanford (talk) 23:41, 1 July 2024 (UTC)
- Thank you - I was transcribing directly from the book but then changed the letters to match with the article - that n slipped through the cracks it seems! GaseousButter (talk) 13:37, 4 July 2024 (UTC)
Skolem problem
[edit]"For example, the Skolem problem is decidable for sequences of order up to 4"
It would do to be more precise here - what is currently published in the literature is that the Skolem problem is decidable for algebraic sequences of order up to 3, and real algebraic sequences up to order 4. In fact, it is true that it is decidable for all algebraic sequences up to order 4 - I have a paper in the works about that so watch this space ;). But as of now what is written is a little ambiguous and potentially misleading. GaseousButter (talk) 13:48, 4 July 2024 (UTC)
- Thanks, I can fix this! From the source (Ouaknine and Worrell) I have: "Partial progress towards decidability of the Skolem Problem has been achieved by restricting the order of linear recurrence sequences. For sequences of order 1 and 2, decidability is relatively straightforward and considered to be folklore. Decidability for orders 3 and 4, however, had to wait until the 1980s before being independently settled positively by Mignotte, Shorey, and Tijdeman [13], as well as Vereshchagin"
- so I guess they are referring to real algebraic sequences? I can also check the original sources and add these. Or feel free to propose an edit. Thanks! Caleb Stanford (talk) 19:05, 6 July 2024 (UTC)
- Yes, in that source you cited the way they define a linear recurrence sequence is to be over the reals. I think the best thing to do is to cite the original sources (they're not the nicest things to read through being from the 80s). I might edit it myself in a bit but I was originally being lazy because I didn't want to figure out what the cleanest wording would be haha GaseousButter (talk) 19:02, 16 July 2024 (UTC)