Kevin Ryde on Sun, 21 Feb 2016 09:02:39 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: recurrence-guess.gp
- From: Kevin Ryde <user42_kevin@yahoo.com.au>
- Date: Sun, 21 Feb 2016 18:57:52 +1100
- Delivery-date: Sun, 21 Feb 2016 09:02:39 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1456041751; bh=LNOAm6/N2/OtOKcM2BciP+fKckNW9oXy8mrZK3iwWO8=; h=From:To:Subject:Date:From:Subject; b=Ee8kootqLPPv5b+8ntHPM9UkPjp9auBT1MDhRIOOK1lQMf1tafioxbOGdBeavQVeh3spJdvuEf2i44X4xB4G9GA60zVgu0EoLW8pTsumisyqxwGbr6ktb8j7+HT8VJlr9Sdw9POceHnb3N7ZD7GPF6jZtVA3DnXrb0vA5ad4TsEI9YnNefBXENvmOj+yJWxPHlJcRx2yge+1nlRK14avHhqjJHL1YbHRVJohytGtMLc7RMKD5TNjqCccuDwpwYwdKvxIQXrium1nUVaQS4jQJhdS73e1rgCYcGf4on0ExpaepaSer5W2Bygomi4T/V+2JKc8up2SkpcFOwr7goFgKg==
- Organization: Bah Humbug
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
I tried a bit of code to find a linear recurrence or gf for given values.
I've had a few forms for quite a while but this is the first presentable
one :)
http://user42.tuxfamily.org/pari-recurrence-guess/index.html
Others have done the same, and the guts is a simple matsolve(), the only
difference here is some printing. I use it to see how something
complicated comes out, and if good then a gf or power expression to copy
into code or text. The look is slightly personal preference, but might
give another perspective.