This site is supported by donations to The OEIS Foundation.
User:R. J. Mathar/oeisPy/README.txt
This is a native python3.1 implementation of some OEIS functions, name conventions from the http://oeis.org/classic enumeration of sequences. ==install== To install run python3 setup.py install ==install nzmath== It builds on top of the number theoretic library of http://tnt.math.se.tmu.ac.jp/nzmath/ We assume this has been installed and converted to python3 with s.th. like gunzip NZMATH-1.0.1.tar.gz tar xf NZMATH-1.0.1.tar ; 2to3 -w NZMATH-1.0.1 Then patch nzmath/poly/termorder.py at two places, by changing the ascending_order = UnivarTermOrder(cmp) to ascending_order = UnivarTermOrder.cmp and lexicographic_order = MultivarTermOrder(cmp) to lexicographic_order = MultivarTermOrder.cmp cd NZMATH-1.0.1 python3 setup.py install touch $HOME/.nzmath.d/nzmath.conf.py The above sequence of commands seems to ensure that the nzmath package is upgraded to python3. Installation of oeisPy-0.0.1.tar.gz will be independent of this installation by nzmath, but running any of the functions in the oeis package will fail unless nzmath can be imported. ==see also== See also http://www.jaapspies.nl/oeis for Jaap Spies' SAGE implementations. ==author== Richard J. Mathar, http://www.mpia.de/~mathar