--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscribe@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
On Sat, Nov 19, 2016 at 02:31:42PM -0500, David Roe wrote:
> Another thing that might be nice to tie in is the Online Encyclopedia of
> Integer Sequences. Or at least include a link in the documentation, though
> most people looking to guess a sequence will already be aware of OEIS.
> David
sage: oeis?
> > email to sage-devel+unsubscribe@googlegroups.com.
> > To post to this group, send email to sage-...@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscribe@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscribe@googlegroups.com.
> > email to sage-devel+...@googlegroups.com.
> > To post to this group, send email to sage-...@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
Thanks for all of the suggestions. I think I will start by getting all of Martin's package routines working under a single wrapper function and try to improve from there.
sage: list_g = fricas("guessADE([n^n/factorial n for n in 1..40])"); list_g
2 3
n , 3 2 9x 32x 4
[[[x ]f(x): - f (x) + x f(x) + 2f(x) = 0,f(x)= 1 + 2x + --- + ---- + O(x )]]
2 3
sage: g = list_g[0]
sage: g.eval("[n=50]")
2635987571800400710022355920186541715689493871043967230302851194475838001
-------------------------------------------------------------------------
3353585829598799392450336149309868736512000000000000
The only thing I'm a little concerned about if this would eventually get bundled in Sage is getting the FriCAS source for the first package installed. My Debian box doesn't have FriCAS or Axiom bundled with my from source Sage install, and I remember a while back having multiple issues getting FriCAS installed on a Gentoo machine.
Thanks for all of the suggestions. I think I will start by getting all of Martin's package routines working under a single wrapper function and try to improve from there. I will definitely include options to search the OEIS database.
The only thing I'm a little concerned about if this would eventually get bundled in Sage is getting the FriCAS source for the first package installed. My Debian box doesn't have FriCAS or Axiom bundled with my from source Sage install
sage: C.<x> = CFiniteSequences(QQ)
sage: C.guess([1,3,5,7,9,11,13])
C-finite sequence, generated by (x + 1)/(x^2 - 2*x + 1)
sage: _.closed_form()
2*n + 1
sage: C.guess([0,1,1,2,3,5,8,13,21]).closed_form()
1/5*sqrt(5)*(1/2*sqrt(5) + 1/2)^n - 1/5*sqrt(5)*(-1/2*sqrt(5) + 1/2)^n
2.As to guessing holonomic recurrences there is the Ore algebra package. It would be nice to have a tutorial.
2.As to guessing holonomic recurrences there is the Ore algebra package. It would be nice to have a tutorial.what's wrong with https://arxiv.org/abs/1306.4263 ?
I have a working draft of the sage code for sequence formula guessing posted at https://github.com/maxieds/sage-guess. I'm still very much working on adding the documentation / doc strings. Besides this, does anyone else have any suggestions for what else I could add to this package to improve it? It's obviously missing support for polynomial sequences right now. I'm planning on adding a tracking ticket and a tutorial once I have the documentation done and more tests written.
Maxie