--- title: SLOANE(1) Sloane User Manual | Version 1.9.3 date: 24 Sep 2014 --- # NAME sloane - a command line interface to Sloane's On-Line Encyclopedia of Integer Sequences # SYNOPSIS sloane [lookup | grep] [-a | --all | -k *keys* | --url] [-n *entries*] *terms* ... sloane filter [--invert] sloane update sloane version # DESCRIPTION The `sloane lookup` command searches Sloane's On-Line Encyclopedia of Integer Sequences (OEIS). The search terms are typically the leading term of a sequence. For example, sloane lookup 1,1,2,5,15,52,203,877,4140 returns entry A000110 (Bell numbers), and four more entries. If no command is given sloane will fall back to the lookup command, so the above query can more simply be given as sloane 1,1,2,5,15,52,203,877,4140 One can also search by sequence id (A-number), or even search for arbitrary words. See the **EXAMPLES** section. Alternatively, using the `sloane grep` command, the search can be done locally against a downloaded list of known sequences. This mode works by "grepping" for the query in the sequence field. To check a large number of sequences one can use the `sloane filter` command. It reads the standard input line-by-line, if the sequence read is in the local database, then it is returned to the standard output; if not, it is ignored. This way onw can quickly filter out the sequences from the input that are in the local database. In other words, assuming that *FILE* contains one sequence per line, sloane filter . I ID number S 1st line of unsigned sequence T 2nd line of unsigned sequence U 3rd line of unsigned sequence V 1st line of signed sequence W 2nd line of signed sequence X 3rd line of signed sequence N Name C Comments D References H Links F Formula e Examples p Maple program t Mathematica program o Program in other language Y Cross-references K Keywords O Offset A Author E Extensions and errors # NOTES Please use this program with moderation as not to overburden the OEIS-server; see OEIS' policy on searching the database: . # SEE ALSO The sloane source code may be downloaded from . # AUTHOR Anders Claesson