Data from The On-Line Encyclopedia of Integer Sequences in R
The On-Line Encyclopedia of Integer Sequences is one of the most amazing projects to document and improve mathematical knowledge: formulas, comments, computer code, links, references...
The database of integer sequences, OEIS records information about integer sequences of interest to both professional mathematicians and amateurs, and it is widely cited.
Due to OEIS, many new mathematical truth has been found, more than 6000 articles are actually referencing OEIS.
On the other hand, R is an open source programming language and software environment for statistical computing and graphics, that is supported by the R Foundation for Statistical Computing. R language is widely used among statisticians, data scientists, and data miners for developing statistical software and data analysis.
This extension for R helps to include organized data from the The On-Line Encyclopedia of Integer Sequences in your code, and it can be used to find, visualize and test, new mathematical hypothesis and also can be used to improve the content of the data in OEIS.
# install.packages("devtools")
library(devtools)
devtools::install_github("EnriquePH/OEIS.R")
# Loading packages
library(OEIS.R)
library(ggplot2)
# Download sequence from OEIS
id <- "A001615"
x <- OEIS_sequence(id)
# Plot sequence
OEIS_ggplot(x) +
geom_line() +
geom_point(size = 0.5, color = "green")
This a shiny
application that makes use of OEIS.R package.
shiny OEIS App