Seqbox: Difference between revisions

From tehowiki
Jump to navigation Jump to search
imported>Gfis
MAGMA
imported>Gfis
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Math toolbox for Seqfans ([https://oeis.org OEIS users]) encapsulated in a Raspberry Pi==
[[File:Seqbox-photo.jpg|250px|right|Raspberry Pi with SD memory card]]
===Chrome, Firefox standalone===
==Toolbox for Seqfans ([https://oeis.org OEIS users])==
* '''Javascript''', open a debugging console with Ctrl-shift-J, paste the program (e.g. from [https://oeis.org/A003238 A003238]) into the console window,
The '''Seqbox''' is a little device that makes it possible to run '''[https://oeis.org OEIS] programs''' and generate sequence terms.  
===Offered by the Seqbox===
* '''[[seqbox/PARI|PARI/GP]]''' from [https://pari.math.u-bordeaux.fr/ https://pari.math.u-bordeaux.fr/]
===Planned===


===Internet===
The hardware is a '''[https://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]''' running under Raspbian, a variant of Debian '''Linux''', pictured on the right. It has the dimensions of a cigarette box and consumes about 5 W. The software is preconfigured on a tiny SD memory card (on the bottom) with the dimensions of a finger nail. The box is connected to the local network via LAN or WLAN. It needs neither a screen nor a keyboard, though both can be attached for diagnostic purposes.
* [https://tryapl.org/ APL], try the only one in [https://oeis.org/A239751 A239751]:  
 
((+⌿(22⍴2)⊤C)<+⌿0≠(5⍴10)⊤C)/C←⍳10000
The preconfigured software of the Seqbox offers three main usage scenarios:
* [https://stackblitz.com/fork/js Javascript]
* Generation of sequences by the programs stored in or associated with the [https://oeis.org OEIS] via a uniform HTML interface, accessed from the user's browser. The available programs are written in:
* [http://magma.maths.usyd.edu.au/calc/ Magma], try [https://oeis.org/A118934 A118934]:
** Java ('''[https://github.com/archmageirvine/joeis#readme jOEIS]''' by Sean A. Irvine)
F:=Factorial; [(&+[F(n)/(4^j*F(j)*F(n-4*j)): j in [0..Floor(n/4)]]): n in [0..30]];
** [https://pari.math.u-bordeaux.fr/ PARI/GP]
* [https://webperl.zero-g.net/democode/index.html Perl], WebPerl code demo, try [https://oeis.org/A065520 A065520]
** [https://www.wolfram.com/raspberry-pi/ Wolfram Language] on the Raspberry Pi (Mathematica (&copy;))
* [https://stackoverflow.com/questions/14750747/org-apache-catalina-lifecycleexception-failed-to-start-component-standardengin Tcl], ''[http://aidanhs.github.io/emtcl/ EmTCL]'',
** [https://www.python.org/ Python]
===Other links===
** [https://www.sagemath.org/ SageMath]
* [https://emscripten.org/ Emscripten.org], a complete Open Source compiler toolchain to WebAssembly, compiles C and C++ code, or any other language that uses LLVM, into WebAssembly
** Javascript (also possible in the debugging console of Chrome, Firefox with Ctrl-Shift-J)
* [https://www.jython.org/ jython.org], provides implementations of Python in Java
** other Open Source systems used in the OEIS, like [https://www.gnu.org/software/mit-scheme/ MIT/GNU Scheme], [https://www.haskell.org/ Haskell], [https://julialang.org/ Julia], [https://www.gap-system.org/ GAP], [https://maxima.sourceforge.io/ Maxima]
* Interactive use of the packages mentioned above, via '''[https://jupyter.org/ Jupyter notebook]s'''
* Tools for frequent generation and transformation tasks like linear recurrences, Euler transforms
* A standard Unix terminal window with a commandline and a number of Unix tools and languages that are sometimes used in the OEIS, for example:
** Perl, (g)awk, bc, C, C++, Python, GP/PARI, wolfram
===[[Seqbox/Getting started|Getting started]]===

Latest revision as of 11:44, 27 June 2022

Raspberry Pi with SD memory card
Raspberry Pi with SD memory card

Toolbox for Seqfans (OEIS users)

The Seqbox is a little device that makes it possible to run OEIS programs and generate sequence terms.

The hardware is a Raspberry Pi running under Raspbian, a variant of Debian Linux, pictured on the right. It has the dimensions of a cigarette box and consumes about 5 W. The software is preconfigured on a tiny SD memory card (on the bottom) with the dimensions of a finger nail. The box is connected to the local network via LAN or WLAN. It needs neither a screen nor a keyboard, though both can be attached for diagnostic purposes.

The preconfigured software of the Seqbox offers three main usage scenarios:

  • Generation of sequences by the programs stored in or associated with the OEIS via a uniform HTML interface, accessed from the user's browser. The available programs are written in:
  • Interactive use of the packages mentioned above, via Jupyter notebooks
  • Tools for frequent generation and transformation tasks like linear recurrences, Euler transforms
  • A standard Unix terminal window with a commandline and a number of Unix tools and languages that are sometimes used in the OEIS, for example:
    • Perl, (g)awk, bc, C, C++, Python, GP/PARI, wolfram

Getting started