login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Contributing a b-file or other file to the On-Line Encyclopedia of Integer Sequences

About b-files

Entries in the The On-Line Encyclopedia of Integer Sequences give at most three lines of terms
(about 200 to 500 characters - a carry-over from the days when the database was on punched cards).
Often one wants more terms than this, so many sequences now have "b-files", giving 10000 or more terms.

The format for a b-file is:

1 2
2 3
3 5
4 7
5 11
6 13
7 17
8 19
9 23
10 29
etc.
with one line per entry.

This is a list of pairs "n   a(n)", where n starts at the correct offset for the sequence and a(n) is the n-th term. n should begin at the left then a single space then a(n). No commas.

When you edit a sequence, in the Links section you will see a place where you can upload a b-file, or other file that is to be associated with this sequence.

Note that you must log in before you can see the "Edit" tab for a sequence, and you must register before you can log in.

The name of the b-file for A123456 (say) would be b123456.txt
The above example is the file b000040.txt for the primes, A000040.
For other examples see the b-files for the Fibonacci numbers A000045, A000594, etc.

Remarks

Uploading other files associated with a sequence

The same "upload" mechanism can also be used to upload other files that are to be associated with a sequence.

Files to be associated with sequence ANNNNNN should always start with aNNNNNN, with a lower-case a (except for b-files, which are always bNNNNNN.txt).

Be sure to create a link for each file.

The allowed file extensions for text files are .eps, .nb, .ps, .rtf, .svg, .tex, .txt

But any text file is okay; if it doesn't have one of the above extensions, then it gets .txt added. For example, it's fine to upload prog.tex; it will get saved as aNNNNNN.tex. It's also fine to upload prog.c; it will get saved as aNNNNNN.c.txt. The fact that .tex is on the list and .c is not only affects whether .txt gets added.

For binary files, the allowed formats are: pdf, gif, jpg, png, tiff.

Typical examples of files that might be uploaded are:

IMPORTANT: Thousands of people use the sequence database every day.
Please take great care that what you send is absolutely correct.
The standards are those of a mathematics reference work.

Contributions are contributed under The OEIS Contributor's License Agreement, and may be edited, altered, or
removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain resource,
or have the right to submit it (see The OEIS Contributor's License Agreement for details).
Do not submit copyrighted work without permission!