[seqfan] Re: A063841
franktaw at netscape.net
franktaw at netscape.net
Fri Jan 20 00:40:36 CET 2012
Programs do not by any means always generate a sequence per se. I tend
to modify the program name to show what it is calculating: a(n) for
direct calculation of the nth term; al(n) for calculation of the first
n terms; alim(n) for all terms with values up to n; isa(n) for whether
a given term is in the sequence; am(n) to return an nxn matrix; ap(n)
for a program that just prints values up to n; ar(n) to generate the
nth row; ac(n,k) to generate k terms of the nth column; T(n,k) to
compute a term in a matrix. All of these are valid programs for
appropriate sequences.
Franklin T. Adams-Watters
-----Original Message-----
From: Harvey P. Dale <hpd1 at nyu.edu>
The program provided by Geoffrey Critzer doesn't generate the terms of
the aboe
sequence. First, it needs to invoke the Combinatorica package before
it is run.
Second, it then generates a grid but not the terms of the sequence
(because the
terms of the sequence require reading the grid by anti-diagonals). How
should
the program be fixed?
Best,
Harvey
More information about the SeqFan
mailing list