Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Return the list provided by the OEIS for a given OEIS sequence number
ResourceFunction["OEISSequence"][string] gives the list of values provided by the OEIS for OEIS sequence string. |
Return OEIS sequence A000045 (Fibonacci sequence):
In[1]:= |
Out[1]= |
To get a value of a sequence, index into the produced list:
In[2]:= |
Out[2]= |
OEISSequence returns unevaluated when a sequence does not exist in the OEIS:
In[3]:= |
Out[3]= |
If internet access to the OEIS is not available the function will fail to produce the expected result:
In[4]:= |
Out[4]= |
Plot the first nine OEIS sequences:
In[5]:= |
Out[5]= |
This work is licensed under a Creative Commons Attribution 4.0 International License