[seqfan] Re: Re Nice variant on A030067

W. Edwin Clark wclark at mail.usf.edu
Mon Jan 13 22:09:31 CET 2014


To be clear, when in a Maple procedure no RETURN or return statement is
encountered in the execution of the code, then the procedure returns the
value of the last statement executed in the procedure. That's why in the
case mentioned no "return" is needed.
I suppose this is well-known to most Maple users.

--Edwin



On Sun, Jan 12, 2014 at 8:09 PM, Russell Walsmith <ixitol at gmail.com> wrote:

> Okay, that was a nice little to-do about almost nothing... although it was
> interesting to learn that 'return' in any form, was not needed in the Maple
> code for A109671. Still, it took up time that could have been devoted to
> more productive and joyful things, and I feel a bit bad about that. So, in
> order to expiate, I'll tithe the price of my next fractal artwork sale. If
> it's a big piece, that could be some consolation to those who were caught
> up in the stir...
>
> Peace, Russell
>
>
> On Sun, Jan 12, 2014 at 2:45 PM, Russell Walsmith <ixitol at gmail.com>
> wrote:
>
> > Hi Neil,
> >
> > I'm running Maple 17.02 in 64 bit Win 8.1 on a recent Sony Vaio. I took a
> > screenshot of the program and posted it here:
> >
> > http://ixitol.com/MapleCode.jpg
> >
> > I don't think the problem is inherent to Maple: to me, the astonishing
> > thing is that it ran at all! If I copy/paste this code to a new page, I
> get
> > 'Error, (in g) cannot determine if this expression is true or false: 0 <
> > f(3)-f(2)'.
> >
> > So, an irony here is that we have a new candidate for the OEIS (i.e.,
> > 1,1,2,1,1,2,1,1,4,3,3,2,7,5,6,1,15,6,11,3...) that is not only rather
> > difficult to describe, but perhaps impossible to regenerate. Given those
> > considerations, I will, for the nonce, not submit it...
> >
> > Ciao, Russell
> >
> >
> >
> > On Sun, Jan 12, 2014 at 12:32 PM, Neil Sloane <njasloane at gmail.com>
> wrote:
> >
> >> Russell, Could you please provide documentation for
> >> that program not working in Maple 17 ?
> >> What version were you using, what platform, OS, etc.?
> >>
> >> The Maple experts on this list say it should
> >> have worked
> >>
> >> This is important, because there are 2000 Maple
> >> lines in the OEIS which use the RETURN command.
> >>
> >> Neil
> >>
> >>
> >> On Sat, Jan 11, 2014 at 9:59 PM, Russell Walsmith <ixitol at gmail.com>
> >> wrote:
> >>
> >> > Just found this A109671 entry... pretty cool. But the Maple code, cut
> >> and
> >> > pasted into Maple 17, gives me the sequence
> >> > 1, 1, 2, 1, 1, 2, 1, 1, 4, 3, 3, 2, 7, 5, 6, 1, 15, 6, 11, 3, 20, 9,
> >> 17, 2,
> >> > 33, 11, 26, 5, 43, 16, 37, 1...
> >> >
> >> > Any suggestions?
> >> >
> >> > Russell
> >> >
> >> >
> >> > On Fri, Apr 30, 2010 at 8:17 AM, N. J. A. Sloane <
> njas at research.att.com
> >> > >wrote:
> >> >
> >> > >
> >> > > Nice!  It will be A109671.
> >> > >
> >> > > Neil
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > >
> >> > > Seqfan Mailing list - http://list.seqfan.eu/
> >> > >
> >> >
> >> > _______________________________________________
> >> >
> >> > Seqfan Mailing list - http://list.seqfan.eu/
> >> >
> >>
> >>
> >>
> >> --
> >> Dear Friends, I have now retired from AT&T. New coordinates:
> >>
> >> Neil J. A. Sloane, President, OEIS Foundation
> >> 11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
> >> Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway,
> NJ.
> >> Phone: 732 828 6098; home page: http://NeilSloane.com
> >> Email: njasloane at gmail.com
> >>
> >> _______________________________________________
> >>
> >> Seqfan Mailing list - http://list.seqfan.eu/
> >>
> >
> >
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>



More information about the SeqFan mailing list