numberscope / backscope

Numberscope's back end: responsible for getting sequences and other data from the On-Line Encyclopedia of Integer Sequences, pre-processing it (factoring etc), and storing it.
MIT License
1 stars 9 forks source link

Some OEIS sequences have offsets too large for backscope to currently handle #155

Open gwhitney opened 1 month ago

gwhitney commented 1 month ago

E.g., https://oeis.org/A241292 has offset 3638334640025. Attempting to fetch https://numberscope.colorado.edu/api/get_oeis_values/A241292/10 yields an internal server error, unsurprisingly. Likely we will need to change the protocol slightly to handle such possibilities. Note that according to https://oeis.org/wiki/Offsets#Large_offsets, this is by no means the largest offset.

gwhitney commented 1 month ago

Note that python automatically handles arbitrarily large integers, so the difficulties are almost certainly all with the Postgres database.