Question: Generating Function from List

Greetings. Using the sequence command, I can generate a list of numbers.

>seq(1/(n^2+1), n=1..10);

1/2, 1/5, 1/10, 1/17, 1/26, 1/37, 1/50, 1/65, 1/82, 1/101

Given the list of numbers above, how does one derive

1/(n^2+1)

This is a specific example.  I am looking for a general case.  I scanned the genfunc and gfun packages, but I must be missing something.

 

Regards,

Georgios Kokovidis

 

 

Please Wait...