Function guesser

0. Contents

This is the documentation of algoguesser-1.0.6.2.
   1. Purpose
   2. Copying
   3. Examples of success
   4. Todo
   5. Requirements
   6. Downloading

1. Purpose

Give list of keys per values, guess the formula to generate the values,

2002-01-13 update to the description:
Does the same as polinterpolate() -function of PARI/GP, but a lot slower.

However, what polinterpolate() does not do, is accept an error range.

2. Copying

algoguesser has been written by Joel Yliluoma, a.k.a. Bisqwit,
and is distributed under the terms of the General Public License (GPL).

3. Examples of success

{0,1,2,3} => {4,5,6,7}:

Found:  x +4

{10,11,12,13} => {20,22,24,26}:

Found:  2x

{1,2,3,4} => {4,7,10,13}:

Found:  3x +1

{1,2,3,4} => {0,3,8,15}:

Found:  x² -1

{1,2,3,4} => {19,20,23,28}:

Found:  x² -2x +20

4. Todo

Find x in exponents: Make {1,2,3,4,5} => {0,1,2,4,8} find x² instead of x^3/6 -x² +17x/6 -2.

5. Requirements

GNU make is probably required.
GMP (The GNU MP library) is required for big integers.

6. Downloading

The official home page of algoguesser is at http://oktober.stc.cx/source/algoguesser.html.
Check there for new versions.

Generated from progdesc.php (last updated: Wed, 1 May 2002 22:34:15 +0300)
with docmaker.php (last updated: Tue, 13 Aug 2002 13:58:03 +0300)
at Tue, 13 Aug 2002 13:58:07 +0300