reality / dbot

IRC bot of the 21st century.
Other
62 stars 35 forks source link

Adds a module that queries the Online Encyclopedia of Integer Sequences #675

Closed Scritches closed 6 years ago

Scritches commented 6 years ago

Queries the Online Encyclopedia of Integer Sequences for interesting number sequences.

Sequence by example:

~sequence 1 2 3 4 5

Sequence by ID number

~sequence a27

Sequence by keywords

~sequence positive integers

In all cases the following is returned:

[oeis] A000027: "The positive integers." - (1, 2, 3, 4, 5, 6, 7, 8, ...) https://oeis.org/A000027

Added support for random sequences

~sequence

^ returns a random sequence