Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #1395
| X-Received | by 2002:a05:622a:1a16:b0:403:2978:b7d0 with SMTP id f22-20020a05622a1a1600b004032978b7d0mr42555qtb.12.1688542556168; Wed, 05 Jul 2023 00:35:56 -0700 (PDT) |
|---|---|
| X-Received | by 2002:a63:fc22:0:b0:557:3747:87b8 with SMTP id j34-20020a63fc22000000b00557374787b8mr9001895pgi.0.1688542555775; Wed, 05 Jul 2023 00:35:55 -0700 (PDT) |
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail |
| Newsgroups | comp.soft-sys.math.maple |
| Date | Wed, 5 Jul 2023 00:35:55 -0700 (PDT) |
| In-Reply-To | <7b2a001f-581a-437f-a5c1-acf90190ecabn@googlegroups.com> |
| Injection-Info | google-groups.googlegroups.com; posting-host=99.225.200.95; posting-account=fuODWQoAAACwKFkiR1AZOPqJMnEnSkk2 |
| NNTP-Posting-Host | 99.225.200.95 |
| References | <7b2a001f-581a-437f-a5c1-acf90190ecabn@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <2b4ce6fa-8b4e-41a4-b4e6-098631f5cef0n@googlegroups.com> (permalink) |
| Subject | Re: Bug hopping |
| From | acer <maple@rogers.com> |
| Injection-Date | Wed, 05 Jul 2023 07:35:56 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Received-Bytes | 2461 |
| Xref | csiph.com comp.soft-sys.math.maple:1395 |
Show key headers only | View raw
On Tuesday, July 4, 2023 at 2:35:59 AM UTC-4, peter....@gmail.com wrote:
> Maple has developed a sophisticated strategy to ensure that the experience of its users is one of hopping from bug to bug.
>
> It is based on two pillars: To change basic definitions (which are in fact fixed since Euclid) from time to time, and, secondly, to rely on the fact that their long-time users can't always adapt that quickly.
>
> A nice example with the current Maple version (2023) is:
>
> restart; with(numtheory):
> A027375 := n -> local d; add(mobius(d)*2^(n/d), d = divisors(n)):
> seq(A027375(n), n = 1..9);
>
> > 2, 2, 6, 12, 30, 54, 126, 240, 504
>
> restart; with(NumberTheory):
> A027375 := n -> local d; add(Moebius(d)*2^(n/d), d = divisors(n)):
> seq(A027375(n), n = 1..9);
>
> > 2, -2, -2, 0, -2, 2, -2, 0, 0
>
> If you have nothing better to do, you can waste your time trying to find the bug.
In your second example you call `divisors(n)` even though `numtheory` hasn't been loaded.
Did you intend this, instead?
restart; with(NumberTheory):
A027375 := n -> local d; add(Moebius(d)*2^(n/d), d = Divisors(n)):
seq(A027375(n), n = 1..9);
2, 2, 6, 12, 30, 54, 126, 240, 504
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Next in thread | Find similar
Bug hopping "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-07-03 23:35 -0700
Re: Bug hopping acer <maple@rogers.com> - 2023-07-05 00:35 -0700
Re: Bug hopping "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-07-05 01:44 -0700
Re: Bug hopping jfh <harperjf2@gmail.com> - 2023-07-07 22:12 -0700
csiph-web