diophantine


diophantine, an Octave code which finds one solution of a diophantine equation in any number of variables.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

diophantine is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

diophantine_test

diophantine_nd, an Octave code which is given a Diophantine equation in N variables, and returns all strictly positive solutions, or all nonnegative solutions.

subset, an Octave code which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems. Some routines for continued fractions are included.

Reference:

Source Code:


Last revised on 21 September 2022.