[seqfan] Re: web changes (AT) by @ and publishes e-mails

Peter Pein petsie at dordos.net
Wed Jun 30 12:17:56 CEST 2010


Am Tue, 29 Jun 2010 08:35:44 +0200
schrieb Simon Plouffe <simon.plouffe at gmail.com>:

> Hum, perhaps with  a captcha test ?
> 
> http://fr.wikipedia.org/wiki/Captcha
> 
> kind of : 2,3,5,7,11,13,  what is the next term ?
> 
> maybe even with a tougher one.
> 
> Simon Plouffe
> 

This can be ambiguous. Suppose I were as dumb as an CAS. Then I would
try:

In[1]:= InterpolatingPolynomial[Prime[Range[6]],n]/.n->7
Out[1]= -6
In[2]:= Interpolation[Prime[Range[6]]][7]
During evaluation of In[2]:= InterpolatingFunction::dmval: Input value
{7} lies outside the range of data in the interpolating function.
Extrapolation will be used. >> 
Out[2]= 9
and finally:
 In[3]:= FindSequenceFunction[Prime[Range[6]],k]/.k->7
Out[3]= 17

Same holds for any sequence.

P²




More information about the SeqFan mailing list