Explanation of Terms Used in OEIS Sequences
The following (imaginary) example shows allthe different types of lines that may appear in a replyfrom theOn-Line Encyclopedia of Integer Sequences.
[For a description of theInternal Formatused in the database, clickhere.]
Click on the heading to get more information.
ID Number: A004001 (Formerly M0276 and N0101))Data: 1,-1,-1,0,0,1,1,2,0,0,-1,-1,-2,-2,-2,-4,-1,-2,0,0,3,4,6,6,8,8,10,10,9,9,7, 5,2,0,-7,-10,-18,-22,-29,-32,-41,-43,-49,-50,-54,-53,-54,-50,-46,-38,-30, -18,-6,8,25,43,62,82,108,129,155Name: Bell or exponential numbers: ways of placing n labeled balls into n indistinguishable boxes.Comments: On first day, each gossip has his own tidbit. On each successive day, disjoint pairs of gossips may share tidbits (over the phone). After a(n) days, all gossips have all tidbits.References R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. Addison-Wesley, Reading, MA, 2nd Ed., 1998, p. 329. C. L. Mallows, Conway's challenge sequence, Amer. Math. Monthly, 98 (1991), 5-20.Links: Douglas E. Iannucci and Donna Mills-Taylor,On Generalizing the Connell Sequence, J. Integer Sequences, Vol. 2, 1999, #99.1.7.Formula: a(n) = (1/4)*n^2*(n^2+3).Example: a(24) = 4 because we can form 2, 4, 24 and 42.Maple: a:=proc(n) option remember; if n<=2 then 1 else a(a(n-1))+a(n-a(n-1)); fi; end;Math'ca: dtn[L_]:=Fold[2#1+#2&,0,L]; f[n_]:=dtn[Reverse[1-IntegerDigits[n,2]]]; Table[f[n],{n,0,100}]Program: (PARI) direuler(p=2,101,1/(1-(kronecker(5,p)*(X-X^2))-X))See also: Cf.A005380Keywords: sign,nice,easyOffset: 5,8Author(s):Antti Karttunen, Dec 05 2001Extension: Extended byAlois P. Heinz, Mar 10, 2010.Explanation of the Different Lines
- The A-number (for exampleA000031) is the absolute catalogue number of the sequence.It consists of A followed by 6 digits.
- Some sequences also have a 4-digit M-number,such as , which is the number they carried in"The Encyclopedia of Integer Sequences"by N.J.A. Sloane and S. Plouffe, Academic Press, San Diego, CA, 1995.
- Some older sequences also have a 4-digit N-number,such as , which is the number they carried inthe "Handbook of Integer Sequences",by N. J. A. Sloane, Academic Press, NY, 1973.
- These lines give the beginning of the sequence.
- Ideally the entry gives enough terms to fillabout three lines on the screen.
- The terms must be integers.
- If the terms are fractions,then the numerators and denominators appear as separate sequences,labeled with theKeyword "frac", and with linksconnecting the two sequences.
- Only sequences that are well-defined and of general interest are included.
- The "Name" line gives a brief description or definition of the sequence.
- In the description, a(n) usually denotes the n-th termof the sequence, and n is a typical subscript.
- In some cases however a letter such as k or m is used to denote a typicalterm in the sequence.
- Additional remarks about the sequence thatdo not fit into any of the other lines(additional contexts where the sequence occurs,for instance).
- References where information about the sequence can be found.
- Whenever possible the reference gives full bibliographicalinformation:
- For an article in a journal: author(s), title of article, name of journal, volume,issue number if relevant, year, starting and ending pagenumbers, etc.
- For a book: author(s), title, publisher,place, year, edition, page numbers where sequence appears, etc.
- For an article in a book:author(s), title of article, page numbers, editors' names,title of book, publisher, place, year, etc.
- Links related to this sequence
- Preferred format:
J. B. Smith, < a href = " http : // www.this.that.com/etc/etc.html ">Title< /a >
- spaces have been inserted to make it visible, but of course you shouldnot insert any spaces.
In other words, the format is
- Web page addresses can change very quickly, so if you finda link that is broken,please add a comment to that link — you might say, for example, [broken link? - ~~~~] (the four tildes will be transformed into your signature).
- These lines give expanded information or examples to illustrate theinitial terms of the sequence.
- If the sequence is formed from the coefficients of a power series,this line can be used to show the beginning of the series.
- If the sequence is formed from the decimal expansionor continued fraction expansion of a real number,this line may show the actual decimal expansion.
- If the sequence is formed by reading the rowsof anarray,this line may show the beginning of the array(see theKeywords "tabl" and "tabf" below.)
- These lines give Maple code to produce the sequence. Examples:
- These lines give Mathematica code to produce the sequence. For example:
- These lines give a program in some other language that will produce the sequence. Examples:
- These lines gives cross-references to related sequences. Examples:
- Sequence in context. This line show the three sequencesimmediately before and after the sequencein the lexicographic listing. Example:
- Adjacent sequences. This line show the three sequenceswhose A-numbers areimmediately before and after the A-number of the sequence.Example:
These lines give keywords describing the sequence.At present the following keywords are in use.
- base: Sequence is dependent on base used
- bref: Sequence is too short to do any analysis with
- changed: A sequence that was changed in the last two or three weeks (this keyword is set automatically)
- cofr: A continued fraction expansion of a number
- cons: A decimal expansion of a number
- core: An important sequence
- dead: An erroneous or duplicated sequence (the tablecontains a number of incorrect sequences that have appeared in the literature,with pointers to the correct versions)
- dumb: An unimportant sequence
- dupe: Duplicate of another sequence
- easy: It is easy to produce terms of this sequence
- eigen: Aneigensequence: a fixedsequence for some transformation - see the filestransforms andtransforms (2) for further information.
- fini: A finite sequence
- frac: Numerators or denominators of sequence of rational numbers
- full: The full sequence is given, either in the DATA section or in the b-file (implies the sequence is finite and has keyword "fini")
- hard: Next term is not known and may be hard to find. Would someone please extend this sequence?
- hear: A sequence worth listening to.
- less: This is a less interesting sequence and is less likely to be the one you were looking for.
- look: A sequence with an interesting graph.
- more: More terms are needed! Would someone please extend this sequence? We need enough terms to fill about three lines on the screen.
- mult: Multiplicative: a(mn)=a(m)a(n) if g.c.d.(m,n)=1
- new: New (added or modified within last two weeks, roughly; this keyword is set automatically)
- nice: An exceptionally nice sequence
- nonn: A sequence of nonnegative numbers (more precisely, all the displayed terms are nonnegative; it is not excluded that later terms in the sequence become negative)
- obsc: Obscure, better description needed
- probation: Included on a provisional basis,but may be deleted later at the discretion of the editor.
- sign: Sequence contains negative numbers
- tabf: An irregular or funny-shapedtriangle of numbers (one in which the n-th row does not contain n terms)made into a sequence by reading it by rows; or a table with a fixed number of columns that are read by rows — a list of pairs, triples, quadruples, etc. Any 2- or 3-D sequence that does not warrant the keyword "tabl".SeeA028297 andA027113 for examples.
- tabl: A regulartriangle of numbers (one in which the n-th row contains n terms) made into a sequence by reading it by rows; or an infinitesquare array T(n,k), n >= 0, k >= 0, say, made into a sequence by reading it by antidiagonals either upwards or downwards.SeeA007318 andA003987 for examples.
- uned: Not edited. The editors normally check all incoming sequences to make sure that:
- the sequence is worth including
- the definition is sensible
- the sequence is not already in the database
- the English is correct
- the different parts of the entry all have the correct prefixes: cross-references are in %Y lines, formulae in %F lines, etc.
- any %H lines are correctly formatted (this is easy to get wrong)
- etc.
The keyword "uned" indicates that this sequence needs editing. If you can help by editing the entry, please do so! - unkn: Little is known; an unsolved problem;anyone who can find a formula or recurrence is urged toadd it to the entry.
- walk: Counts walks (or self-avoiding paths)
- word: Depends on words for the sequence in some language
For further information about the keywords, seehere.
- The offset line contains two numbers.
- The first offset usually gives the subscript of the first term in the sequence, or is 1 if the sequence is a list.
- For example: theFibonacci numbersA000045, F(0), F(1), F(2), ..., begin and the subscript of the initial term is 0,
so the first offset is - On the other hand, the sequence ofEvil numbers (numbers with an even number of 1's in their binary expansion): is a list, so the first offset is
- However, if the sequence gives the decimal expansion of a constant, the offset is the number of digits before the decimal point.
- For example, the speed of light is giving the sequence and so the first offset is .
- On the other hand, the decimal expansion of 1/13 is , givng the sequence and now the first offset is .
- The second offset, that is, the second number in the Offset line, is automatically set by the system, and is used to determine where this sequence lies in the lexicographic order.The normal user need not worry about the second offset, but for those who are interested, here are the details.
The second offset says which term (counting from the left, and labeling the first term with 1), first exceeds 1 in absolute value. It is set to 1 if all theterms are 0 or +-1.
The reason for this goes back to the very beginning of the database.
All the sequences in the database are (virtually) arranged lexicographically, but to do that they have to be lined up,and they are lined up so the first field they are sorted on is the first term >= 2 in magnitude.
You cannot compare the Fibonacci numbers and the primes unless you line them up properly:
0 1 1 2 3 5 8 13 ...2 3 5 7 11 13 ...
You mark the first term > 1 in magnitude with asterisks (this position is the second offset):0 1 1 *2* 3 5 8 13 21 ... (second offset is 4) *2* 3 5 7 11 13 ... (second offset is 1)
and now you can compare them. They are out of order! The correct order is2 3 5 7 11 13 ...0 1 1 2 3 5 8 13 ...
The primes come before the Fibonacci numbers.You can see this arrangement if you look at the line in any entry that says"Sequence in context" That shows you the three sequences before and after the one you are looking at, in the lexicographic order.
However, if all terms are less than 2 in magnitude, you can't sort them like this. So those get sorted on the first field — these sequences have second offset equal to 1.
- This line gives the name of the person or persons who contributed the sequence. For example: . This name will usually be an active link to the user page of the submitter on the OEIS wiki.
- E stands forExtensions,Errors orEdited.These lines contain information about sequencesthat have been significantly extended,errors that have been corrected, or entries in the databasethat have been edited by someone.
- The errors might be in an earlier version of the entry in thedatabase or in the published literature.
- Examples: