Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: A script to determine the next number in a sequenceby lin0 (Curate) |
on May 10, 2007 at 17:09 UTC ( [id://614699]=note: print w/replies, xml ) | Need Help?? |
Hi Anonymous Monk, I will go with 50 :-)
However, I also like the answer given by sulfericacid in Re: A script to determine the next number in a sequence. But as Limbic~Region said in Re: A script to determine the next number in a sequence: “For a given number of integers in a sequence, there are an infinite number of "formulas" that could produce that sequence.” This is why for your small dataset more than one answer is possible. Cheers Update: Added quote by Limbic~Region in attention to his comment in Re^2: A script to determine the next number in a sequence
In Section
Seekers of Perl Wisdom
|
|