[seqfan] Re: A119558 -- FIXED

Charles Greathouse charles.greathouse at case.edu
Mon Feb 27 15:20:31 CET 2012


I wonder if the 2006 preprint ever materialized.

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Mon, Feb 27, 2012 at 9:12 AM, Harvey P. Dale <hpd1 at nyu.edu> wrote:
>        Please ignore my earlier message on this sequence.  I had,
> indeed, misunderstood the definition and a revised Mma program (see
> below) now correctly generates its terms:
>
> RecurrenceTable[{a[1]==a[2]==0,a[3]==1,a[n]==Abs[a[n-1]-a[n-2]]+(-1)^n
> a[n-3]},a,{n,80}]
>
> I will submit that program once the OEIS website is operating again (it
> appears to be down at the moment).
>
>        Apologies for the prior posting on this sequence.
>
>        But, once again, even with my now-corrected Mma program, is the
> offset correct?
>
>        Best,
>
>        Harvey
>
>
> -----Original Message-----
> From: seqfan-bounces at list.seqfan.eu
> [mailto:seqfan-bounces at list.seqfan.eu] On Behalf Of Harvey P. Dale
> Sent: Monday, February 27, 2012 9:05 AM
> To: Sequence Fanatics Discussion list
> Subject: [seqfan] A119558
>
>            This Mma program implements the definition of the above
> sequence but generates quite different terms:
>
>
>
> RecurrenceTable[{a[1]==a[2]==0,a[3]==1,a[n]==Abs[a[n-1]-a[n-2]]+(-1)^(n
> a[n-3])},a,{n,80}]
>
>
>
> Is the Mma program wrong, or are the terms of the sequence wrong?
>
>
>
>            Best,
>
>            Harvey
>
> P.S. In any event, given the definition of the sequence, shouldn't the
> offset be changed?



More information about the SeqFan mailing list