This 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.MathematicsWikipedia:WikiProject MathematicsTemplate:WikiProject Mathematicsmathematics articles
This 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.Computer scienceWikipedia:WikiProject Computer scienceTemplate:WikiProject Computer scienceComputer science articles
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.
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
Hasse diagram
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)reply
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)reply
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)reply
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)reply
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)reply
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)reply
Missing from current article: discussion of integer/rational/algebraic/real/complex
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)reply
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)reply
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)reply
Y "The article reasonably covers the topic, and does not contain obvious omissions or inaccuracies." This one needs review from a subject-matter expert.
Y "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
Y 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.
Y 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.
Y 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 .
Y The article has a defined structure.
Y 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).
Y The phrase "note that" is used in the article twice. Per
MOS:NOTE, it should be removed.
Y 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.
Y 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.
Y 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.
Y In the table in
Closure properties, why is "Generating Function Equivalent" in title case?
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)reply
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)reply
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.
Trying to bring this to GA status eventually.
Caleb Stanford (
talk) 22:32, 22 June 2022 (UTC)reply
Primary to-dos
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.
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}})
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
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)
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)reply
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)reply
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)reply
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)reply
Question: To clarify, are you suggesting the floats and examples be removed from the lead?
Caleb Stanford (
talk) 20:28, 18 April 2024 (UTC)reply
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)reply
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)reply
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)reply
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)reply
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)reply
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)reply
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)reply
Done modulo adding 1 additional reference.
Caleb Stanford (
talk) 20:18, 18 April 2024 (UTC)reply
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)reply
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)reply
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.
In progress I fixed some but I didn't know about the inline parameter, I will check for any remaining ones.
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)reply
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)reply
Second opinion requested A second opinion particularly from a mathematics article expert would be appreciated!
Caleb Stanford (
talk) 20:40, 18 April 2024 (UTC)reply
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)reply
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)reply
@
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)reply
@
Dedhert.Jr: I addressed the comments and asked some specific questions above.
Caleb Stanford (
talk) 20:40, 18 April 2024 (UTC)reply