Fixing unmatched brackets in Maple programs

59 views
Skip to first unread message

Jason Yuen

unread,
Feb 17, 2026, 10:16:35 PMFeb 17
to SeqFan
Hello SeqFan,

I have a script that finds unmatched brackets in the OEIS. However, I don't have access to Maple, and as a result, I'm unable to fix a lot of Maple programs. I have a few questions for the SeqFan community:
1) Is there a way to run Maple code?
2) Is anyone willing to fix most of these programs?

---

Here are the first 3 and last 3 examples of unmatched brackets:

https://oeis.org/A000449 %p ( ' fixed-points: G:=exp(-z)*z^k/((1-z)*k!: Gser:=ser'
https://oeis.org/A001247 %p ) 'inat): seq(bell(n)^2), n=0..17); # _Zerinvary Lajo'
https://oeis.org/A002805 %p ( 'seq(denom(sum((2*k-1)/k'
...
https://oeis.org/A383971 %p ( 'do V:= select(istriprime, [seq(seq(10^(d-1) + 10^j'
https://oeis.org/A385591 %p [ ' - k + 1) = 3: select(filter, [seq(i,i=6 .. 10000,'
https://oeis.org/A390680 %p ( 'seq(simplify(binomial(2'

Here is a GitHub gist containing all of the unmatched brackets: https://gist.github.com/int-y1/88a19c0ef5e19558c9b1789f4d5f29d7

Gareth McCaughan

unread,
Feb 17, 2026, 10:33:23 PMFeb 17
to seq...@googlegroups.com
On 18/02/2026 03:16, Jason Yuen wrote:
> Hello SeqFan,
>
> I have a script that finds unmatched brackets in the OEIS.
[...]
> Here are the first 3 and last 3 examples of unmatched brackets:
>
> https://oeis.org/A000449 %p ( ' fixed-points:
> G:=exp(-z)*z^k/((1-z)*k!: Gser:=ser'
> https://oeis.org/A001247 %p ) 'inat): seq(bell(n)^2), n=0..17); #
> _Zerinvary Lajo'
> https://oeis.org/A002805 %p ( 'seq(denom(sum((2*k-1)/k'
> ...
> https://oeis.org/A383971 %p ( 'do V:= select(istriprime,
> [seq(seq(10^(d-1) + 10^j'
> https://oeis.org/A385591 %p [ ' - k + 1) = 3: select(filter,
> [seq(i,i=6 .. 10000,'
> https://oeis.org/A390680 %p ( 'seq(simplify(binomial(2'

In case anyone else suffers the same temporary confusion as me on
looking some of these up: these are truncated versions of what's
actually in the OEIS entries, but the un-truncated ones do indeed appear
to have mismatched parentheses in them.

--
g

Fred Lunnon

unread,
Feb 17, 2026, 11:28:12 PMFeb 17
to seq...@googlegroups.com

  Maple 2022 is available at their official site for free download. 
I imagine that should suffice to run almost anything found in OEIS. 
A quick search reveals several other alternatives, including a free 
trial of the current edition. 

WFL 
_

--
You received this message because you are subscribed to the Google Groups "SeqFan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seqfan+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/572fa7eb-1eae-47e3-86f9-bae33ffeb5b5%40pobox.com.

Fred Lunnon

unread,
Feb 18, 2026, 12:03:55 AMFeb 18
to seq...@googlegroups.com

  Correction: I apparently misunderstood the Maple 2022 documentation: 
after succeeding in downloading at the third attempt, and much unpacking, 
the installer prompts us for a non-existent verification code.  WTF! 

  I have in the past unearthed a public worksheet at the Maple site where 
short programs can be pasted in and run, although no graphics were available. 
However for the present I am unable to make much sense of their posh new 
website ... 

WFL 
_

Robert Israel

unread,
Feb 20, 2026, 10:39:24 AMFeb 20
to seq...@googlegroups.com
I fixed all of mine.  
Note to self: double-check Maple code before submitting...

Brendan

unread,
Feb 20, 2026, 8:39:30 PMFeb 20
to seq...@googlegroups.com
Please update the GitHub list as many seem to be fixed.  I fixed one.

I also noticed A108898:  The function seriestolist() is not standard Maple. Is it in Neil's package perhaps? This should be noted.  Also, everything in the Maple section from "-or-" onwards is not Maple or related to Maple.  What is it and why is it in the Maple section?

Brendan.

--
You received this message because you are subscribed to the Google Groups "SeqFan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seqfan+un...@googlegroups.com.

Jason Yuen

unread,
Feb 21, 2026, 3:40:39 AMFeb 21
to SeqFan
I updated my GitHub gist and there are now 141 lines remaining and 125 distinct sequences remaining. Here is the link again: https://gist.github.com/int-y1/88a19c0ef5e19558c9b1789f4d5f29d7

There may be some sequences that are hard to fix, and A108898 could be one of the harder sequences.
Reply all
Reply to author
Forward
0 new messages