Recursive sequences

Tanya Khovanova tanyakh at TanyaKhovanova.com
Tue Feb 27 17:40:45 CET 2007


seems to equal A114951.
subscribe anymore to the Monthly, and I have lost the photocopy of the 
solution.)
 
Return-Path: <j.spies at hccnet.nl>
X-Ids: 166
Message-ID: <45E47285.70306 at hccnet.nl>
Date: Tue, 27 Feb 2007 19:03:49 +0100
From: Jaap Spies <j.spies at hccnet.nl>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070213 Fedora/1.0.7-0.6.0.1.fc5 SeaMonkey/1.0.7
MIME-Version: 1.0
To: tanyakh at TanyaKhovanova.com
CC: "seqfan at ext.jussieu.fr" <seqfan at ext.jussieu.fr>
Subject: Re: Recursive sequences
References: <200702270840.AA769261774 at TanyaKhovanova.com>
In-Reply-To: <200702270840.AA769261774 at TanyaKhovanova.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AtHome-MailScanner-Information: Neem contact op met support at home.nl voor meer informatie
X-AtHome-MailScanner: Found to be clean
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-2.0.2 (shiva.jussieu.fr [134.157.0.166]); Tue, 27 Feb 2007 19:04:05 +0100 (CET)
X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on shiva.jussieu.fr
X-Virus-Status: Clean
X-Miltered: at shiva.jussieu.fr with ID 45E47293.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)!

Tanya Khovanova wrote:

> Right now I have the following types of sequences there:
>     * a(n) = d * a(n-1) - a(n-2).
>     * a(n) = d * a(n-1) + d * a(n-2).
>     * a(n) = a(n-1) + a(n-2).
>     * a(n) = d * a(n-1) + a(n-2).
>     * a(n) = d * a(n-1). Geometric progressions.
>     * a(n) = a(n-1) + d. Arithmetic progressions.
>     * a(n) = a(n-1). Constants.
> 

Nice work! Do you consider more general second order recurrences:
a(n) = c_1 * a(n-1) + c_2 * a(n-2)
and the inhomogenous case:
a(n) = c_1 * a(n-1) + c_2 * a(n-2) + b(n)?

In SAGE there a generator function for this type of recurrences.
See the source code in sage/combinat/sloane_functions:
http://modular.math.washington.edu/sage/ Browse code:
http://sage.math.washington.edu/sage/hg/sage-main/file/5ed4f056fa9e/sage/combinat/sloane_functions.py

Feel free to contribute!

Jaap






More information about the SeqFan mailing list