#19296: Generating function in FindStat interface
-------------------------------------+-------------------------------------
       Reporter:  stumpc5            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.9
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:  FindStat, OEIS     |    Reviewers:
        Authors:  Christian Stump    |  Work issues:  document
Report Upstream:  N/A                |       Commit:
         Branch:                     |  5558be983f10469e5be31e45652364437a0edb03
  u/stumpc5/generating_function_in_findstat_interface|     Stopgaps:
   Dependencies:  #19307             |
-------------------------------------+-------------------------------------

Comment (by stumpc5):

 Here is another question concerning negative statistic values: so far, I
 had considered the generating function {{{2q + q^2}}} as the sequence
 {{{0,2,1}}} where the initial {{{0}}} corresponds to the constant term
 {{{0}}}. But if I consider negative statistic values, I might end up with
 the generating function {{{q^{-1} + 2q}}}, which I have to move to the
 sequence {{{1,0,2}}}.

 So, should I always shift the sequence of a generating function such that
 it starts with the first nonzero term?

 [I find this counter intuitive for nonnegative statistics, but it is
 unavoidable for partially negative statistics.]

 Finally, it seems special wired if my generating functions are

 {{{
 f_1(q) = q^{-1} + q
 f_2(q) = 2q + q^2
 }}}
 and then shift the first, but not the second, to finally get
 {{{1,0,1,0,2,1}}}.

--
Ticket URL: <http://trac.sagemath.org/ticket/19296#comment:32>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to