Talk:Sequence

From Wikipedia, the free encyclopedia

Is sequence meant for linguistics to help with complete sentences.

Nonono! Not just for math please!!! 124.106.137.149 (talk) 09:50, 9 August 2018 (UTC)

This is not a dictionary entry. The dictionary definition of sequence at Wiktionary contains such a definition. D.Lazard (talk) 17:39, 9 August 2018 (UTC)
See also sequence (disambiguation), which is linked in a prominent place at the article top. You might wish to check that disambiguation whether it mentions your linguistic meaning of "sequence". - Jochen Burghardt (talk) 10:27, 5 September 2019 (UTC)

Treating sequence elements as individual variables

I just saw the recent edits "variables"-->"constants"-->"variables". Reading the complete section, I noted that I don't understand what the following text is intended to mean at all:

It is often useful to combine this notation with the technique of treating the elements of a sequence as individual variables. This yields expressions like , which denotes a sequence whose nth element is given by the variable . For example:

One can consider multiple sequences at the same time by using different variables; e.g. could be a different sequence than . One can even consider a sequence of sequences: denotes a sequence whose mth term is the sequence .

It does not have a source which I could consult to learn about its intended meaning. I never heard of the technique described, and it doesn't become clear to me from the text what the technique actually consists in. The <math> table doesn't help me to understand. I suggest to delete that text. The notion "" can/should be explained in a better way. - Jochen Burghardt (talk) 10:21, 5 September 2019 (UTC)

What source you have in mind? Indeed the use of the word technique is not needed, being rather pedantic, like other expression to combine this notation with the technique.--109.166.130.34 (talk) 13:02, 5 September 2019 (UTC)
The notion of sequence of sequences is an important aspect to be adequately presented, as the enumeration of the elements of the sequence a1, a2,....ak,...an-1, with their number of order/index attached. The enumerated elements of the sequence are individual constants, not variables. The variable n runs through the constant values 1, 2, 3, ...k, k+1,...n, n+1, the numbers of order of the elements of the sequence.--109.166.130.34 (talk) 13:13, 5 September 2019 (UTC)
For the meaning of Source, see WP:sourcing.
The first sentence of the article says that the elements of a sequence are mathematical objects. This they cn be constants, variables, but also functions, sets, matrices, sequences, ... So sequences of sequence have not a specific importance, and it is not worth to mention them here.
The distinction that you do between constants and variables is useless and does not correspond to the common mathematical usage. Let us consider the sequence Unless otherwise specified it elements are simply symbols. In many case, they are implicitly supposed to be variables, with no value specified. If the sequence is a sequence of functions, the value of is neither a constant nor a variable.
By the way, I agree with the suggestion of Jochen Burghardt to remove the quoted text (and also that the notation can (and must) be better explained. D.Lazard (talk) 14:19, 5 September 2019 (UTC)
The distinction you say it is not really needed has its value from the point of view of logical propositions that can be stated about the individual terms ai and thus to the associated sequence of logical propositions about the terms of a numerical sequence like Fibbonaci's. The sequence of logical propositions with singular terms about the individual terms of a numerical sequence that have a common property has the predicate structure P(ai) (P the common property) and is an (infinite) sequence of logical conjunctions P(a1) and P(a2) and....and P(an-1) and P(an)..The mentioned constants, applied to the example of a sequence of functions are individual functions members in sequence, generally individual constants attached to predicate letters.--109.166.130.34 (talk) 15:08, 5 September 2019 (UTC)
How can the mentioned notation be better explained?--109.166.130.34 (talk) 15:36, 5 September 2019 (UTC)

Sequence variables in propositional functions/variables pi, qj - proposed addition to article

The individual terms of (numerical) infinite sequences (like Cullen number, Proth number, etc) can share a common property (like being prime or composite, divisible with an individual number, etc) for which a predicate symbol and underlying domain of discourse D = {a1, ....ai, ai+1...an} for the sequence variable an (or xn or (P,C)n) can be attached. Thus an infinite set of sentences re the individual elements of the (infinite) universe of discourse is generated, as mentioned at talk:open formula and talk:quantifier (logic).--109.166.129.57 (talk) 12:48, 10 September 2019 (UTC)

The above is a proposed addition to article.--109.166.129.57 (talk) 16:00, 10 September 2019 (UTC)

One can use sequences to “generate (infinite) universe” in thousands ways, and why namely this is relevant here? Incnis Mrsi (talk) 16:31, 10 September 2019 (UTC)
I'd say to give an example of a sequence of logical propositions.--109.166.129.57 (talk) 16:52, 10 September 2019 (UTC)
This is a an article on mathematics. "Domain of discourse", "universe of discourse" are not mathematical terms (they have no meaning in mathematics); they are philosophical terms, which, as far as I know, are not used in philosophy of mathematics. So, these terms do not belong to this article. Moreover, by WP:OR policy, every controversial assertion (as this proposed addition) must be supported by a reliably published citation. As this proposed addition is undoubtedly the result of your own thoughts, it must not be accepted in Wikipedia, per WP:OR. D.Lazard (talk) 17:12, 10 September 2019 (UTC)
Interesting your assertion about these terms being only philosophical terms when they are used in predicate logic in connection to logical quantifiers and specifically the domain of discourse has been defined and used by George Boole the mathematician. This makes Boole just and only a philosopher, not at all mathematician? I see on Wikipedia many philosophers who are also included in mathematicians categories. I think we not need to make a sharp separation between philosophical logic and mathematical logic, they are just logic. You seem to have something against a so-called philosophy invading allegedly strictly mathematical topics such as this one. Re mathematicians or philosophers false dillema, Bertrand Russell in your view would not be a mathematician.--109.166.129.57 (talk) 18:07, 10 September 2019 (UTC)
I also do not understand your use of the word undoubtedly against my proposal of addition. It indicates an unacceptable vehemence and rather absolute certainty that my proposed addition could not be found in sources of (mathematical) logic. Or presumably you would want to separate logic sources into philosophical and mathematical and of course then claim that those sources with a philosophical slant are not acceptable because here are mathematical articles and not philosophical.--109.166.129.57 (talk) 18:07, 10 September 2019 (UTC)
I also do not understand the high level of controversiality attributed by you to my proposed addition, what is so highly controversial? Or perhaps this labelling is based on the sharp distinction between philosophy and mathematics?!--109.166.129.57 (talk) 18:23, 10 September 2019 (UTC)
You mention in the previous section above the enumeration functions, sets, matrices, sequences....beside ordinary terms in simple numerical sequences. The enumeration could include also sentences. I do not undestand your vehemence against the concept of sequences of logical propositions.--109.166.129.57 (talk) 18:35, 10 September 2019 (UTC)
What would an example sequence look like? Wouldn't it be a sequence of truth values? Wouldn't it be even a constant sequence repeating "true" forever (since all numbers would have the property under consideration)? Or did I misunderstand you? - Jochen Burghardt (talk) 19:58, 10 September 2019 (UTC)
With these specifications (reduction to a sequence of truth values,..) the analyzed example, presumed highly controversial, becomes rather trivial, non-controversial.--109.166.135.70 (talk) 08:06, 12 September 2019 (UTC)
The term sequence, as usually understood even in ordinary language, means a list of elements with an ordering attached. This ordering is done by correspondence to the (ordered) set of non-negative integers.--109.166.135.70 (talk) 08:20, 12 September 2019 (UTC)
If you can't present a non-trivial example for what you have in mind, it is pointless to discuss its inclusion in the article. Apparently, you intend to dispense with the "reduction to a sequence of truth values" - did I get you right? How do you want to achieve it? - Jochen Burghardt (talk) 09:46, 12 September 2019 (UTC)
I don't quite understand this supposed distinction between trivial and non-trivial examples about sequences of some elements. Once the ordering has been associated to a set/list of elements the mentioned distinction does not make much sense. The intended example for sequences of propositions could be generated by attaching the predicate is prime to each term of the sequence of Fermat numbers which would have the form PFn (PF0, PF1, PF2, PF3,...PFi.....). These propositions for the first n terms viewed as a conjunction would be false when n is at least 5. Viewed as as a disjunction would be true for all n terms.--109.166.131.125 (talk) 15:41, 18 September 2019 (UTC)
Can you make a literal suggestion for text to be added? - Jochen Burghardt (talk) 16:22, 18 September 2019 (UTC)
I thought of something like: "If Fn denotes the nth Fermat number and P(x) means 'x is prime', the the sequence (P(Fn))n∈ℕ is a sequence of truth values; it is known to start (false, false, false, false, false, true, true, ... true), with xxx[exact number, or lower bound, to be provided] 'true' members, and being yet unknown beyond, as of 2019." Would that match what you have in mind? If yes, what point would you make with this? - Jochen Burghardt (talk) 08:26, 20 September 2019 (UTC)
This specific example of a sequence of propositions re Fermat numbers would illustrate the general formulation of the text to be added such as: A sequence of logical propositions (regarding each term of an ordinary numerical sequence) can be generated starting from an usual sequence by associating a predicate letter P(an) to each term of the sequence an. This sequence of propositions can be equivalently viewed as a sequence of associated truth values (true, true, true, true, true, false...., false....(true?), ...false). A specific example given in the following involves Fermat numbers:(.....insert the above example..), but the place of the Fermat sequence of numbers can be taken by any other sequence. These aspects are intented to enhance a clearer understanding of the structure of mathematical proofs and logical propositions involved in these proofs.--109.166.135.233 (talk) 19:37, 20 September 2019 (UTC)
I don't see why this should be interesting. It is just a special case of the following property:
If f:A1×...×AmB is an m-ary function, and (x1,n)n∈ℕ, ..., (xm,n)n∈ℕ are m sequences of elements of A1, ..., Am, respectively, then (f(x1,n,...,xm,n))n∈ℕ is a sequence of elements of B,
which is pretty obvious. In your case, m=1, and my f is your P. I found some special cases stated in the article (e.g. in section "Sequence spaces": "... vector space under the operations of pointwise addition of functions and pointwise scalar multiplication ..."). I don't see that choosing B={true,false} is of sufficient particular interest to justify an extra sentence. I also didn't understand why infinite sequences of booleans could be related to proofs, which have to be finite; your Fermat number example doesn't involve any proof. - Jochen Burghardt (talk) 16:54, 22 September 2019 (UTC)
Re the use of sequences of propositions in proofs about the general term of a sequence, the type of proofs is perhaps proof by cases (and also involving counterexamples when necessary) to see what truth value has the proposition generated by attachment of a predicate to each of the terms of the sequence. This proof is done by inspecting each(individual) term of the sequence like that of Fermat where the first 5 checked cases generate true propositions and then give false propositions. The general term generally gives false propositions re Fermat numbers or true propositions if the initial predicate is prime is replaced with its negation is composite.--109.166.133.226 (talk) 21:39, 26 September 2019 (UTC)
The m-ary function given by you applies to the case of non-monadic predicates, starting from at least binary predicates (where m=2,3,...).--109.166.133.226 (talk) 21:43, 26 September 2019 (UTC)
The mentioned section which includes the subsection Sequence spaces has the name relating to "other fields of mathematics". So in this section there should be a subsection with the name Mathematical logic including the sequences of propositions (as used in proof by cases for each term of an infinite sequence).--109.166.133.226 (talk) 21:51, 26 September 2019 (UTC)
Statements re relation between the individual elements of 2 or more (m) sequences can be viewed as m-adic/ary predicates.--109.166.139.92 (talk) 23:50, 26 September 2019 (UTC)

Merge from Interleave sequence

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
To not merge; Interleave sequence is a distinct subtopic, concise but worthy of separate discussion. Klbrain (talk) 13:25, 6 December 2023 (UTC)

The article Interleave sequence is currently a stub, and I cannot imagine how it could ever evolve to not be a stub. Thus, making it a subsection of this article seems like the right thing to do. 67.198.37.16 (talk) 05:43, 17 November 2023 (UTC)

No. This article is the wrong merge target for that one. It is too specific and this one too general. The material to be merged would not fit in well here. Also, your failure of imagination is not a valid merge reason. —David Eppstein (talk) 08:50, 17 November 2023 (UTC)
This seems unnecessary. Short articles are fine as long as the scope is well defined. (But this could certainly be expanded to significant length if anyone cared enough to do the research). –jacobolus (t) 01:12, 18 November 2023 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

What is a sequence?

The article begins by stating that a sequence is an enumerated collection, and then later states that it is a function. Please clarify the meaning of the term. Kevincook13 (talk) 05:29, 31 December 2025 (UTC)

The beginning gives an informal understanding of the term "sequence". (Keep in mind that this article is mainly for non-mathematicians.) However, when mathematics is to be strictly founded on Zermelo-Fraenkel set theory, the means provided by this theory have to be used to "implement" sequences, and the most adequate means is a function.
By anology, a desk calculator is usually introduced informally as some device that can perform arithmetic calculations. However, engineers are interested in its internal details, like digital circuits etc. down to the transistor level. - Jochen Burghardt (talk) 11:07, 31 December 2025 (UTC)
I can see that a transistor is a part of a desk calculator, and I can see that machinery is used to produce transistors and desk calculators. I can also see that a function can be used to produce a sequence, as well as to characterize or classify the sequence. Kevincook13 (talk) 15:44, 31 December 2025 (UTC)
What is the number 2? Is it the result of applying the successor function to 1? Is it the set {{}, {{}}}? Is it the unique nonzero real number such that adding it to itself gives the same as multiplying it by itself? Is it ...? --JBL (talk) 19:51, 31 December 2025 (UTC)
I have asked my question from the perspective of a reader of the article. How would you make your point to a reader? Kevincook13 (talk) 21:56, 31 December 2025 (UTC)
I'd have suggested to add "formally" to the definition in terms of functions, but this word is already there. We could consider adding "intuitively" to the first lead sentence, but my personal feeling is that we shouldn't.
As an aside, I suggest to add to that sentence the context "In mathematics" (to make clear what "other" in the hatnotes refers to). - . Jochen Burghardt (talk) 10:54, 1 January 2026 (UTC)
I agree with Jochen Burghardt that this introductory section already appropriately handles this issue. --JBL (talk) 21:04, 1 January 2026 (UTC)
The article has a low rating. A complaint from a reader might help us to improve it. Kevincook13 (talk) 18:24, 2 January 2026 (UTC)
I agree that the first sentence does describe the generally understood meaning of the term sequence. Such definition is formal in the sense that it begins an encyclopedic article. If we want to use the term formal in some special way, we need to explain what we mean. Kevincook13 (talk) 19:50, 2 January 2026 (UTC)
The question about this article (What is a sequence?) could have been asked about the first version of this article in Wikipedia, back in August of 2001. The article begins by stating that a sequence is a list, and then in the next sentence gives the impression that a sequence is a function.
For a long time academics, which includes professional academics, have failed to clearly define the term. Yet, the idea of an enumerated collection is at least as ancient as using ones fingers to count. Wikipedia touts itself as the free encyclopedia that anyone can edit. If I edit this article, and subsequently have my edit reverted, I expect that the reverting editor will give more explanation than simply that my edit was poor, or Wikipedia:Competence is required, or that other editors are happy with the page as it is. Wikipedia should answer primarily to its readers, not to academics, and certainly not to professional academics whose careers are affected by what appears in Wikipedia pages. I am a Wikipedia reader and have just as much right to try to improve the encyclopedia as the most skilled academic. All I ask is that skilled editors are kind enough to engage in thoughtful discussion rather than to thoughtlessly revert my edits. Kevincook13 (talk) 21:51, 4 January 2026 (UTC)
Wikipedia operates by consensus (see WP:CONSENSUS). It is not necessary for other editors to satisfy you that your edits make the article worse (see WP:SATISFY). Since the discussion you have started has not resulted in anything resembling a consensus in favor of the edits you have tried to make, the outcome of you repeating your edits is that someone will report you for edit-warring and someone will revert your edits and possibly you will be end up blocked.
In fact, the following things are both true: (1) the article could be improved, and (2) your edits made the article worse. By all means please find high-quality published sources on the topic of this article and use them as a basis for additions or changes; that would be a good way to improve it. Adding semi-comprehensible misplaced sentences to the first paragraph based on your ideological view about infinity and enumeration is not a similar activity.
Finally, on the substantive point: it is true both that sequences can be viewed as enumerated lists and that sequences can be viewed as functions. Neither of these views is more right than the other, and both points of view are widespread in reliable sources. There is no conflict here needing to be resolved. Moreover, your view that the distinction between finite and infinite sequences is somehow implicated in the phrase "enumerated list" is completely rejected by mainstream modern mathematics, and your insistence on this point falls afoul of WP:NPOV. --JBL (talk) 23:26, 4 January 2026 (UTC)
See Finiteness for an article about the meaning of the term finite. The word enumerated is a past tense verb, meaning that the enumerating has come to an end. An enumerated collection is a finite collection. Kevincook13 (talk) 16:54, 5 January 2026 (UTC)
"meaning that the enumerating has come to an end" – this seems like a personal interpretation of a somewhat ambiguous phrase, rather than any kind of logical/definitional requirement. –jacobolus (t) 03:43, 6 January 2026 (UTC)
I'm just observing that the article begins by defining a sequence as an enumerated collection, and by doing so communicates to readers the idea that a sequence is finite. Following the opening sentence, I think it is a good idea to explicitly state what is meant by the term "finite sequence". In my edit, I wrote: "Such a fully enumerated collection is called a finite sequence." I believe that beginning the article by clearly defining what is meant by a finite sequence is a solid foundation upon which the rest of a great article can stand. Kevincook13 (talk) 16:19, 6 January 2026 (UTC)
communicates to readers the idea that a sequence is finite this is only true of readers with your particular (unusual, very far from mainstream) POV. --JBL (talk) 23:33, 7 January 2026 (UTC)
We are discussing how to effectively communicate meaning to readers of the English language, whose point of view is affected by the language itself. Kevincook13 (talk) 15:38, 8 January 2026 (UTC)
I agree that it is possible that you have fringe views about linguistics, psychology, and possibly other subjects as well. --JBL (talk) 19:40, 8 January 2026 (UTC)
Of course a sequence is not actually a function. A function doesn't have elements, nor length. Let's do our best to explain what is meant when someone refers to a function as a sequence. Such explanation may not be found in textbooks written for a specific audience, rather than for general Wikipedia readership. We get to write such explanations. Anyone can write such an explanation. I wrote: "The term infinite sequence refers to a shared characteristic which identifies a class of finite sequences, such as a function mapping the positions of the elements of a sequence to the elements themselves." How might you explain it? Kevincook13 (talk) 16:09, 7 January 2026 (UTC)
As a general rule I do not try to explain things to people whose only contributions to Wikipedia over a decade involve pushing their non-mainstream POV and whining about how unfair it is that we prefer academic sources to things that he just made up one day. Go find me someone who in good faith is confused on this point and I would be happy to try to explain something to them to help with their confusion. --JBL (talk) 23:36, 7 January 2026 (UTC)

First, let me agree that the intro to the page is good enough. Secondly, let me agree with Kevin C about the low rating. The low rating is well deserved. I often do a simplified form of Rorschach test about books or texts I see, and ask myself what they would remind me of. In this case the item was would you like to guess...?. What does this article remind you guys of? I am sorry but that is my feeling. And there is a tremendous amount of trivia, often unsourced, but it is so obvious that does not need a cn tag. This is just a passing comment and l will make no more comments. But I encourage you guys to seriously condense this page and focus it. Thanks Yesterday, all my dreams... (talk) 15:17, 4 January 2026 (UTC)

@Yesterday, all my dreams...: Articles on broad mathematical subjects are notoriously difficult to write and maintain. If you have concrete suggestions, please go ahead and make them (or, even better, make edits that improve things). --JBL (talk) 23:58, 4 January 2026 (UTC)
Sure, it's not a great article. To begin with, it has only 9 sources listed, 4 of which are websites, plus 1 unedited classroom powerpoint, 1 paper in an obscure journal, and 3 book chapsters which only briefly mention the topic. There are surely hundreds if not thousands of excellent sources covering all aspects of this topic. –jacobolus (t) 05:29, 5 January 2026 (UTC)

If we wish (as we should) that at least the start of this article be easily understood by a non-mathematician, we fail already on the seventh word. "Enumerated collection" is a phrase that has no place in English outside of mathematics. And yet, the idea it is intended to convey is easily explained to anyone. Try this: A sequence is a collection of things, possibly with repetition, that come in a specified order. Same meaning, but now every word can be understood by almost anyone. A second defect in the current sentence is that it has both "enumerated" and "order" as if these are two different aspects, while in reality there is only the collection (multiset) of things and the order of them, nothing else. McKay (talk) 06:01, 8 January 2026 (UTC)

I like your suggestion. - Are there objections by somebody? - Jochen Burghardt (talk) 10:03, 8 January 2026 (UTC)
I also agree that this is an improvement. --JBL (talk) 19:40, 8 January 2026 (UTC)
One other point perhaps worth mentioning is that the items of a sequence are nearly always of the same type. –jacobolus (t) 20:12, 8 January 2026 (UTC)
I believe that the phrase "enumerated collection" has meaning in English generally, not limited to a specific academic discipline. However, I agree with the idea of making that first sentence as accessible as possible. Also, the word collection implies finiteness: my stamp collection is worth ten dollars. If we change the lead sentence as you suggest, how would we then define the term finite sequence? Kevincook13 (talk) 16:13, 8 January 2026 (UTC)
The word "collection" is not precisely defined, and there's nothing inherently harder to imagine about an "infinite collection" than an "infinite sequence". (Some would argue that such objects cannot exist, on extra-mathematical grounds, while others have no problem taking the existence of such objects for granted.) –jacobolus (t) 20:14, 8 January 2026 (UTC)
Outside of any specific academic community, the word collection has very clearly understood meaning. Kevincook13 (talk) 14:28, 9 January 2026 (UTC)
The same is true of the word "sequence" but nevertheless here we are. --JBL (talk) 17:34, 9 January 2026 (UTC)
In that lay context, what would you suggest as a common clearly understood term for an "infinite collection" or "infinite list"? If you want to get really pedantic, it doesn't ever make any sense to have a "set", "collection", "list", "sequence", etc. of abstract non-physical "mathematical objects". You can't literally collect, list, etc. things which have no physical existence. But most readers can figure out that these are metaphors, and we are using our existing human language to grasp at something which we otherwise had no words to describe. –jacobolus (t) 20:00, 9 January 2026 (UTC)
Continuing this line of discussion at Talk:Set_(mathematics)#Writing to a general audience. Kevincook13 (talk) 17:19, 10 January 2026 (UTC)

Participants in this discussion may be interested in this noticeboard thread I have opened: Wikipedia:Administrators'_noticeboard/Incidents#Kevincook13. --JBL (talk) 20:52, 29 January 2026 (UTC)

Formal definition

The first two sentences of the "Formal definition" section contradict each other. Then in the same paragraph it claims that "interval of integers" rules out finite sequences, which is nonsense. Actually any "formal definition" that eliminates finite sequences is in conflict with vast usage across all of mathematics, even though it is fair to note that sometimes "sequence" is defined to exclude them. McKay (talk) 06:09, 8 January 2026 (UTC)

I agree that section Sequence#Definition needs some cleanup. The problem is that we have three types of sequences (finite, infinite, bi-infinite), and different authors admit different types. Moreover, some properties (like increasing) apply to all types, others (like bounded) don't make sense for finite sequences, etc. Therefore, I have problems to suggest a good overall article structure. I thought about outsourcing finite sequences to the Tuple article (and omitting bi-infinite sequences), but this would e.g. duplicate the increasing definition. - Jochen Burghardt (talk) 10:30, 8 January 2026 (UTC)
Surely the correct thing is to say that formally a sequence is a function from some interval of the integers (allowing four order-types, and indexing in various ways). I agree with McKay that the way the paragraph dwells on the idea that maybe sequences means only N-indexed sequences is odd. I'm going to trim some of that now (not that that will solve any larger issues). --JBL (talk) 20:28, 8 January 2026 (UTC)
How does it look now? --JBL (talk) 20:32, 8 January 2026 (UTC)
Clearly better. I'd add "(finite or infinite)" before "interval" since the target article prominently handles the restricted (finite-only) notion of intervals. And maybe "mapping ... to" is a more common phrase than "function ... to"? (Being a non-native English speaker, I don't dare to have a firm opinion here.) - Jochen Burghardt (talk) 08:33, 9 January 2026 (UTC)
I included the finite or infinite explicitly in the next sentence to avoid two parentheticals in the same sentence. I agree that "function ... to" is a bit awkward, but I think the word "function" itself is slightly less jargony than "mapping"; I think more improvements are possible here but I didn't immediately see what they should be. --JBL (talk) 17:37, 9 January 2026 (UTC)
The paragraph still had a lot of parentheticals, so I tried rephrasing it a bit. Stepwise Continuous Dysfunction (talk) 23:23, 9 January 2026 (UTC)

Does the function define the same sequence as the function , or is it a different sequence that just happens to look the same in standard notation? Also, does not define a sequence at all, given that is not an interval? I agree that the function method is a good approach to a formal definition, but I'm not satisfied that it is correctly done. As well as saying what a sequence is, it is necessary to say when two sequences are the same as the equality relation is central to formal applications. Restricting "interval" to the minimum number of types necessary would be one way to try. McKay (talk) 04:08, 27 January 2026 (UTC)

I don't think admitting arbitrary intervals has any advantages. Instead, I suggest to admit the natural numbers (infinite sequence) or an initial segment of them (finite sequence) as domains. This is what e.g. Halmos does in Ch.11 "Numbers" of his book "Naive Set Theory". Bi-infinite sequences are very rare, afaik, and I suggest to outsource them to Net (topology), which is linked under "See also" / "Related concepts". Jochen Burghardt (talk) 17:06, 27 January 2026 (UTC)
Bi-infinite sequences are not rare and not limited to topology: every class in which I've ever introduced the Fibonacci numbers has at some point done a homework exercise in which they discover that the Fibonacci numbers are a bi-infinite sequence, and sequences that are polynomial functions of a positive integer argument but that also have a meaningful interpretation when extended to negative integer arguments are commonplace in combinatorics (see e.g. Erhart polynomial#Reciprocity property, though it seems we lack an article on the general phenomenon of combinatorial reciprocity, at least by that name). Likewise every combinatorial sequence knows who its indices are, with shifted sequences being unquestionably different. --JBL (talk) 17:31, 27 January 2026 (UTC)
Or consider e.g. the coefficients of a Laurent series. –jacobolus (t) 17:41, 27 January 2026 (UTC)
To me both of these questions have answers that I consider immediate and uncontroversial: Does the function define the same sequence as the function , or is it a different sequence that just happens to look the same in standard notation? These are certainly different sequences; they have different generating functions, for example. Also, does not define a sequence at all, given that is not an interval? It is a function that is closely related to several sequences (as a bisection, or as an index padding) but it is not itself a sequence. --JBL (talk) 17:25, 27 January 2026 (UTC)
When you say "same sequence" do you mean in some philosophical sense? That seems beyond the scope of this article. If by "same" you mean mathematical equality, then that can be straight-forwardly answered based on whichever definition of 'sequence' you establish. By most definitions, these sequences not equal. But you could certainly define an equivalence relation (where two sequences which re-index to each-other are equivalent) for which they are in the same equivalence class; you could consider the equivalence classes to be the "real" sequences, and the formally defined sequences with specified indices to be a kind of arbitrary choice. –jacobolus (t) 17:36, 27 January 2026 (UTC)
To JBL: I am questioning the definition, not its application. It is bizarre and unnecessary to suppose that every sequence has sitting unseen behind it a particular function that defines it and that (10,20,30) sometimes has one function and sometimes has a different function. To jacobolous: the concept of equality is part of almost every formal system in mathematics. Very few mathematicians would agree that there are a multitude of sequences that are all written as (10,20,30) and reject the statement until it is shown that they are defined using the same integer intervals. McKay (talk) 05:16, 12 February 2026 (UTC)
I understand what you're questioning, I just don't think you're right. Mathematicians deal all the time with both labeled and unlabeled objects (i.e., between indexed things and equivalence classes of indexed things) and pass between them without much in the way of note or comment when it doesn't matter. Do you consider it "bizarre and unnecessary" to believe that the unique unlabeled tree with three vertices is an equivalence class of trees? Because in my experience this is the only way that one ever defines unlabeled trees. Likewise the notation (10, 20, 30) is for an equivalence class of sequences. Just as people happily use unlabeled trees when the identities of the vertices don't matter, people happily use unlabeled sequences in contexts when the precise indices are irrelevant. But when you actually pin someone down on what the unlabeled object "really is", you either get an equivalence class or a fixed representative of the class. --JBL (talk) 17:24, 12 February 2026 (UTC)
But who says (10,20,30) is an equivalence class of sequences? Where is the source? You can't just apply the definition I am questioning to disprove the objection; that is circular reasoning. McKay (talk) 06:50, 2 March 2026 (UTC)
The notation (10, 20, 30) is something that you have introduced into this conversation, claiming that it is something called "the standard notation" of a finite sequence. It is possible that you personally have in your head a definition of "the standard notation of a finite sequence" that conflicts with the (well attested in reliable sources) definition of sequences as functions, and also that somehow is not just what everyone else means by this (which, again, is one of two things, either an equivalence class or a fixed (though context-dependent) representative of the equivalence class). But I don't see how the mismatch between your personal expectations and the definition in reliable sources is a problem that I need to fix by finding a source. --JBL (talk) 17:22, 2 March 2026 (UTC)
Please show us a source that does not use notation like (10,20,30). In searching for an hour I found no differences other than choice of punctuation, ergo calling it standard notation is perfectly correct. Meanwhile, in the very few sources which provide a formal definition, I found finite sequences defined as functions with domain or as functions with domain (eg. Halmos) but never both options at the same time. As far as I know, every author who defines finite sequences as functions chooses one particular interval of integers as the domain and (10,20,30) corresponds to a single function, either or depending on the author's preference. If you want us to allow arbitrary finite intervals, yes you do need to provide a source. McKay (talk) 03:50, 4 March 2026 (UTC)
Ignoring the wrapping of the first two and final sentence, the substantive part of this message in in complete agreement with the statement that when the indices don't matter, people make a choice of a fixed (though context-dependent) representative of the equivalence class. --JBL (talk) 17:20, 4 March 2026 (UTC)
Not true. It is the people who write the formal definition who make the choice. Those who adopt the definition no longer have a choice. If I adopt Halmos' definition, all my sequences that have entries are functions with domain . McKay (talk) 03:53, 9 March 2026 (UTC)
It is possible that you don't understand me; it is possible that is partly my fault; but it is certainly the case that your unfounded self-confidence in your assertion that a very simple and self evident statement is "not true" has sapped me of any further desire to reach a mutual understanding with you. --JBL (talk) 17:26, 9 March 2026 (UTC)
I think the fundamental conflict here is between people who believe words' meaning is primarily determined by common practice vs. people who believe words' meaning is primarily determined by formal definitions. This is fundamentally the same as the conflict between descriptivists and prescriptivists in language use more generally. Mathematics has the additional wrinkle that (1) fully specified and completely rigorous formal proofs (e.g. ones you want to verify with a computer program) must always have an exact definition given for each word used, but (2) proofs are usually written with many details elided and irrelevancies ignored for the sake of better communicating to an expected human audience, and usually the precise differences between possible definitions of terms do not matter to the substance of the argument.
In practice mathematicians usually adopt whichever meaning is most convenient for their context, commonly leaving terms undefined (or sometimes explicitly adopt one specific definition but then implicitly switch to one that is different where it is convenient), expecting readers to ignore (or fill in for themselves) the trivial details of converting between variant formal definitions wherever necessary. –jacobolus (t) 18:43, 9 March 2026 (UTC)

Incidentally, I assumed until now that the "formal definition" was sourced to the book of Gaughan cited at the end of that paragraph. However it isn't. Gaughan only defines one-way infinite sequences, as functions with the natural numbers as domain. So it seems we have no source at all. This is an obvious no-no. To (almost) follow Jochen, I propose we allow as domains only all the integers, the natural numbers, or an initial interval of natural numbers. Then each sequence has a unique function and equality of the functions is a perfect match to the everyday meaning of equality of sequences. McKay (talk) 05:16, 12 February 2026 (UTC)

This leaves us still without a source. The only one I have at hand is Halmos (see above).
If JayBeeEll and jacobolus still insist on bi-infinite sequences to be subsumed here, they should provide one of their sources. I guess this will at least introduce another case distinction for the domain (natural numbers, initial segment, integer numbers), or even the above quotient set construction by jacobolus (avoiding case distinctions, though).
That was my motivation to suggest outsourcing bi-infinite sequences. If Net (topology) is not acceptable, then what about an own section (called e.g. "Generalizations") at the end of Sequence? - Jochen Burghardt (talk) 10:17, 12 February 2026 (UTC)
There are thousands of sources using this concept (in a wide variety of different topics and contexts), which aren't too hard to find by keyword search. I see lots of examples like "Let be a sequence ...", but it's hard to find a source focused specifically on defining the concept of integer-indexed sequences. I'm sure with diligent search someone could find a reasonable citation to point readers toward, but I'm not finding a good one with just a few minutes of searching. –jacobolus (t) 16:27, 12 February 2026 (UTC)
To comment on the question of why Net (topology) is not acceptable: consider that already the first section Fibonacci_sequence#Definition of the article on the Fibonacci sequence introduces the idea that it (or can be extended to be) a bi-infinite sequence, but surely there is no question that a link to Net (topology) would be inappropriate there. When I use a standard search engine for the words "bi-infinite sequence", here are two of the top hits, both of which seem like viable sources for some portion of the content in question: . --JBL (talk) 19:29, 12 February 2026 (UTC)
Source [1] seems to define only infinite sequences, and source [2] only bi-infinite sequences, or did I miss something? - Jochen Burghardt (talk) 11:00, 13 February 2026 (UTC)
In the first reference (which is apparently Topological and Ergodic Theory of Symbolic Dynamics by Henk Bruin), the sentence "We are interested in ..." that starts on the bottom of page 1 and finishes on page 2 provides a definition of both infinite and bi-infinite sequences. --JBL (talk) 17:53, 13 February 2026 (UTC)
That's my point. We'd need a definition that works for finite sequences also. - Jochen Burghardt (talk) 17:17, 14 February 2026 (UTC)
I am not convinced that we need a single reference that says that the word "sequence" simultaneously means all these different things, when it is an uncontentious fact that it does mean that -- it should suffice to have good-quality references that attest to the different notions. (Compare the (much worse) situation at Polyhedron#Definition.) This is particularly the case in mathematics, where each author will likely choose "sequence" to have one meaning and then use other related phrases ("finite sequence", "word", etc.) when separating meanings is important. For example, Bruin certainly contemplates finite sequences, it's just that he calls them "words" or "blocks" or "factors". (And then you can see that occasionally "word" is also used for an infinite object, as in Example 1.6.) --JBL (talk) 18:20, 14 February 2026 (UTC)
It's also not entirely necessary that our initial description or definition of 'sequence' is general enough to cover every use of the word 'sequence' anywhere in mathematics. We can start with a definition found most commonly in sources, and then provide alternatives or generalizations later down the page. –jacobolus (t) 18:23, 14 February 2026 (UTC)

The best way to make progress on this is to separate out the three types (finite, one-way infinite, two-way infinite), and give a definition for each. It seems hopeless to find a source that defines all of them at once. For finite sequence, we can cite Halmos for a function with domain an interval of integers starting at 0. If we have a source that starts the domain at 1, we can mention that as well. For 1-way infinite sequences, there are plenty of sources that use the natural numbers as domain, with the same variation of starting at 0 or 1. In both cases, we can't (by WP:NOR) allow arbitrary starting points without a reliable source that allows them. For 2-way infinite sequences, I've only ever seen all of the integers used as the domain. McKay (talk) 04:06, 4 March 2026 (UTC)

Sounds fine to me (cf. my above suggestion of 12 Feb, to move bi-infinite sequences to a section "Generalizations"). - Jochen Burghardt (talk) 10:25, 4 March 2026 (UTC)
We do not need a source that defines all of them at once to discuss them all together; the situation at Polyhedron is relevant. For two-way infinite sequences, everyone in this discussion agrees that those words mean that the domain is . For one-way infinite sequences, there are examples above (the sequence of coefficients of a Laurent series) that present a serious problem for the idea that people only ever use the domain (in one of its two meanings). It is unfortunate that most sources take "sequence" as a primitive/intuitive/understood notion rather than write down a careful definition, but it is also not difficult to see that people in practice use the word "sequence" to mean something more flexible than you're trying to allow here.
More broadly I think your argument proves too much. If there is no source that says that a (finite) sequence is a either a function with domain {0, 1, ..., n} or a function with domain {1, 2, ..., n}, your arguments suggest it is OR for us to say that. (That is, not a source that supports one of these, but a source that supports that the definition of sequence is the disjunction.) To be clear, I do not accept this conclusion; but I think your argument leads to a conclusion that forbids your proposed solution. Personally I would be very comfortable with an assertion that sequences most commonly are indexed starting at 0 or 1, with our without a source that says that explicitly. --JBL (talk) 17:33, 4 March 2026 (UTC)
Any number of indexing functions can be specified for a sequence, and the domains don't have to be intervals, or integers, or in increasing order, or even from an ordered set. That is quite distinct from the unique function used to define the sequence. To formally define an indexing function one chooses a map from the index set to the domain of the defining function; it is an additional step beyond just defining the sequence. McKay (talk) 04:28, 9 March 2026 (UTC)
It occurred to me this afternoon to check whether the OEIS defines the term "sequence". It does not. However, each sequence in the OEIS contains an offset, which they define as "the index of the first term". This is not usable as a reference for anything obviously, but it is another piece of evidence in favor of the idea that sequences are not necessarily 0- or 1-indexed. --JBL (talk) 21:41, 4 March 2026 (UTC)
The OEIS is the best example you found but it is not a reliable source for formal definitions. The OEIS does not mention the defining function for the sequence, instead the offset defines an index function for it. An offset of 3 specifies an indexing function that maps 3 to first, 4 to second, etc. McKay (talk) 04:28, 9 March 2026 (UTC)

Concrete proposal: A finite sequence of length is a function whose domain is .[Halmos] An infinite sequence is a function whose domain is the natural numbers.[Halmos or someone else]. Some authors also define a two-way infinite sequence, which is a function whose domain is the integers.[Source] In each case, the natural ordering of the integers serves to specify the order in which the elements of the sequence appear: the image of comes earlier than the image of if .

That is a complete formal definition and it also says how the formal definition maps to the informal definition. I'm going to put this in if nobody makes a policy-based argument against it (which mandates a source). McKay (talk) 04:28, 9 March 2026 (UTC)
Here's an example of a source with a more general definition:

▸ Definition (Sequence of Numbers) A sequence of numbers is a relation between the set of natural numbers and the set of real numbers such that with each element (index) of the domain there is associated a unique number . Hence, a sequence of numbers is a function whose domain is and the image is a subset of .

This definition is usually extended to the case of a more general domain , which represents a subset of the integers such that , where . The point of this extension is to make possible the counting of the sequence elements starting from an arbitrary initial index ( instead of ) still keeping the structure and order of natural numbers: each next index (the element of the domain) is obtained adding to the current index. (Evidently, in this extension, the number of negative indices is finite or empty.)

Bourchtein & Bourchtein (2022). "Sequences of Numbers". Theory of Infinite Sequences and Series. Birkhäuser, Cham. doi:10.1007/978-3-030-79431-6_1
(Later, they also define a sequence of functions likewise, again noting the extension to an arbitrary initial index.)
jacobolus (t) 06:27, 9 March 2026 (UTC)
Here's a different example, from a book that never explicitly formally defines "sequence" but uses it in a way similar to JBL's concept:

6.7 Given sequence reads as follows [...] As an exercise, the same sequence may be written with any other initial indices. That is to say, the initial index value may be arbitrary chosen, without changing the total number of terms nor the total sum, as, for example, or any other arbitrary integer choice of "the first position" index.

6.8. Given sequence , reads as follows: on position term , on position term , on position term , on position term , etc. Using mathematical notation, that statement is written as where "..." implies "and so on until infinity." However, one has to recognize that this sequence is known as "the powers of two", i.e., if , then there is a number that correspond to the given sequence. Note that the first term equals ; thus using mathematical notation, the indices are shifted as so that powers of two are correlated with as

Sobot (2025) Engineering Mathematics by Example, vol. 3, doi:10.1007/978-3-031-81104-3jacobolus (t) 19:11, 9 March 2026 (UTC)
I strongly oppose McKay's suggestion, which is both factually wrong and a poor reflection of the breadth of reliable sources on the topic; the relevant policy here is WP:CONSENSUS. --JBL (talk) 17:38, 9 March 2026 (UTC)
Could you give (or repeat / refer to? - I lost overview) your suggestion? - Jochen Burghardt (talk) 18:49, 9 March 2026 (UTC)
Sorry if my example distracted from the proposed change. Inre McKay and JBL's disagreement: personally, I think it's fine if we say that a "sequence" is a function from the natural numbers to some set, so long as we also mention that the choice of initial index is arbitrary and is routinely shifted where convenient. I think trying to explicitly define a sequence as an equivalence class of functions with shifted domains would be unnecessarily confusing, and readers for whom that matters can figure it out. –jacobolus (t) 19:15, 9 March 2026 (UTC)
@Jacobolus: I'd directed my question to JayBeeEll. - Jochen Burghardt (talk) 16:29, 10 March 2026 (UTC)
@JayBeeEll: Could you give (or repeat / refer to?) your suggestion? - Jochen Burghardt (talk) 16:29, 10 March 2026 (UTC)
@Jochen Burghardt: Sorry, none of your attempts to ping me worked, so I didn't see this until just now. Personally I am happy with the current section "Definition" (that is a subsection of "Formal definition and basic properties"). If someone wanted to add the assertion that most commonly sequences start with index 0 or 1, I would probably be okay with that, too.
Incidentally, here is an example of a paper that very explicitly treats sequences as functions on (finite) intervals of integers; the literature that touches on a primitive object like this is vast. --JBL (talk) 17:26, 14 March 2026 (UTC)
What if, as a compromise, we say something along the lines of "A sequence is usually defined as ..." or "A sequence can be defined as ...", giving a definition where we enumerate the elements starting from (e.g.) 1, but then explicitly mention that the starting index is arbitrary and where convenient many authors (explicitly or implicitly) use sequences starting from some other integer. McKay does seem correct in saying that the most common formal definition found in reliable sources (especially introductory or broad-focused sources) is of this type.
One way or the other, we should probably include a section explicitly talking about shifting (re-indexing) a sequence, and perhaps also more information about operations like convolution. –jacobolus (t) 17:47, 14 March 2026 (UTC)
Perhaps "A sequence can be defined as a function whose domain is a subset of the natural numbers. The choice of the smallest element of the domain, the so-called starting index, is fundamentally arbitrary but is often either 0 or 1, depending on what is convenient for the purpose at hand." Stepwise Continuous Dysfunction (talk) 20:13, 14 March 2026 (UTC)

Related Articles

Wikiwand AI