Hi!
I request whitelisting the OEIS.
The OEIS is a safe place to store programs because the inclusion of a
program
undergoes a review process.
But OEIS is not just a safe place to store programs, it's a natural place
to store
a sequence generating script where the sequence is searched for. Many
programs
in various languages are already stored there, making it a crucial resource
for
many users.
I'll give an example. Currently, you can do the following:
load('https://raw.githubusercontent.com/PeterLuschny/BinaryQuadraticForms/main/BinaryQF.sage')
Q = binaryQF([1, 13, -9])
print(Q.represented_positives(2750, 'prime'))
In the future, it could look like this:
load('https://oeis.org/A243701/A243701.sage.txt')
Q = binaryQF([1, 13, -9])
print(Q.represented_positives(2750, 'prime'))
But there is one obstacle:
Programs are saved on OEIS as text files and always have the suffix
".txt",
regardless of what programming language it is.
Question:
Can you change Sage's "load" mechanism so that the above form is also
valid?
Peter
--
You received this message because you are subscribed to the Google Groups
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/e745105a-f3f7-4978-9f3c-7df18ec74bc2n%40googlegroups.com.