Items tagged with gfun gfun Tagged Items Feed

with the information in the page

http://aw.twi.tudelft.nl/~koekoek/askey/ch3/par28/par28.html

what should do?

i guess to use Hn directly and use sum(Hn*z^m/m!)

is it possible in Maple?

 

seriestoratpoly error

September 29 2011 by marram 25 Maple

opoly := (1-x^2)*diff(f(x), x$2) - x*diff(f(x), x) + n^2*f(x) = 0;
sol := op(2,dsolve(opoly));
gen := sum(cos(n*arcsin(x))*y^n/n!, n=0..7);

with(gfun):
seriestoratpoly(series(gen, z, 8), ['egf']);

error not a series, why?


seriestoratpoly(gen, ['egf']);

refere to the following link, it is possible to use a few terms to calculate a generating function, but where is the function generating? how do it  work in gfun?

http://www.google.com.hk/url?sa=t&...

algeqtoseries error

September 29 2011 by marram 25 Maple

opoly := (1-x^2)*diff(f(x), x$2) - x*diff(f(x), x) + n^2*f(x) = 0;
sol := op(2,dsolve(opoly));
P := sum(cos(n*arcsin(x))*z^n/n!, n=0..7);
with(gfun):
algeqtoseries(P, x, z, 7, true);

Error, invalid input: gfun:-algeqtoseries expects its 1st argument, Pol, to be of type polynom(anything, [x, y]), but received 1+(1-x^2)^(1/2)*z+(1/2)*cos(2*arcsin(x))*z^2+(1/6)*cos(3*arcsin(x))*z^3+(1/24)*cos(4*arcsin(x))*z^4+(1/120)*cos(5*arcsin(x))*z^5+(1/720)*cos(6*arcsin(x))*z^6+(1/5040)*cos(7*arcsin(x))*z^7...

with(gfun):
gfun['maxdegcoeff'] := 50:
gfun['maxdegeqn'] := 2:

i use number of balls in each basket to get a list, but all functions return fail? where is wrong? and how to use correctly?
l := [0,0,0,2,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,2,0,0,0,1,0,0,0,0,0,1,1,0,1,1]:
listtoratpoly([1,1,2,3,5,8,13],z);
listtoalgeq(l,y(x));

l := [12,14,27,35,46,49,31];
listtohypergeom(l,z);
guessgf(l,z);

with(gfun):

> s := series(sin(x), x, 9); seriestoalgeq(s, y(x));
                  1  3    1   5    1    7    / 9\
              x - - x  + --- x  - ---- x  + O\x /
         ...

Hi,

I am a student from Sweden; Concerning a project about integer sequences, I have a question about Maple and Integer Sequence recognition.

I am trying to find a command in Maple capable of identfying and recognizing integer sequences as appear in IQ tests or any general form of integer sequences. For example, Wolfram Mathematica has a command named "FindSequenceFunction" as descibed here: http://reference.wolfram.com/mathematica/ref/FindSequenceFunction.html

Having Maple 12 I try to use concurrent gfun version 3.52 and have problems
to run an example (from a lecture):

libname:= "D:\\_Work\\Maple_Work\\z_Packages\\gfun", libname; # my setting

with(gfun) : gfun:-version();
with(NumGfun) :
                                 3.52
Page 1 of 1