oeis2 alternatives and similar packages
Based on the "Math" category.
Alternatively, view oeis2 alternatives based on common mentions on social networks and blogs.
-
vector
An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . -
hgeometry
HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of oeis2 or a related project?
README
oeis2
Haskell interface for Online Encyclopedia of Integer Sequences; homage to oeis.
Difference from oeis
- Source data of OEIS.
: oeis usefmt=text
, but this library usefmt=json
. - Possible to get all search results.
- Search functions from ID or sub-sequence are merged.
- Possibele to search from other than ID or sub-sequence.
- Support for HTTPS.
Usage
Add import statement.
import Math.OEIS
Get all search results from sub-sequence
If
n == 0
, you get all search results.ghci>searchSeq (SubSeq [1,2,3,4]) 0 [OEIS {number = "A000027", ids = ["M0472","N0173"], seqData = [1,2,3,4,5,6,7,... ghci>length it 53
Otherwise, you get first
n
search results.ghci>searchSeq (SubSeq [1,2,3,4]) 17 [OEIS {number = "A000027", ids = ["M0472","N0173"], seqData = [1,2,3,4,5,6,7,8,9, ghci>length it 17
Get first few terms from sub-sequence
ghci>getSeqData (SubSeq [1,2,2,3,3,3,4,4,4,4]) Just [1,2,2,3,3,3,4,4,4,4,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,7,...
Get Mathematica function from sub-sequence
ghci>mathematica <$> lookupSeq (SubSeq [1,2,2,3,3,3,4,4,4,4]) Just ["a[1] = 1; a[n_] := a[n] = a[n - a[n - 1]] + 1 (* _Branko Curgus_, May 12 2009 *)","Table[n, {n, 13}, {n}] // Flatten (* _Robert G. Wilson v_, May 11 2010 *)"]
If no search result
ghci>lookupSeq (ID "1145141919893") Nothing
*Note that all licence references and agreements mentioned in the oeis2 README section above
are relevant to that project's source code only.