<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, Solve the Latest IBM "Ponder This" Challenge with Maple</title>
    <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 21:25:28 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 21:25:28 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, Solve the Latest IBM "Ponder This" Challenge with Maple</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge</link>
    </image>
    <item>
      <title>Some 20 years ago...</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment80795</link>
      <itunes:summary>Some 20 years ago, a restricted version of this challenge was posed in a science show on German public TV ("Kopf um Kopf"): arrange the digits 1,..,9 so that the number resulting from the first two digits (from the left) is divisible by 2, etc..

A friend of mine and me used a Sinclair Spectrum (8 bit home computer) and nested loops in BASIC to find the result... Just for fun, we didn't actually take part in the competition.

I still know the result, so I won't write a Maple proc, but maybe anyone else might be interested.</itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>80795</guid>
      <pubDate>Tue, 02 Aug 2005 12:39:09 Z</pubDate>
      <itunes:author>Thomas Richard</itunes:author>
      <author>Thomas Richard</author>
    </item>
    <item>
      <title>You're the first one to</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment80794</link>
      <itunes:summary>You're the first one to attach a .mpl . We'll clear this up. It's not our intent to overly restrict file types.

T4.</itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>80794</guid>
      <pubDate>Tue, 02 Aug 2005 16:15:58 Z</pubDate>
      <itunes:author>Tom 4</itunes:author>
      <author>Tom 4</author>
    </item>
    <item>
      <title>... today; Clive Sinclair taught the band to play...</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment86938</link>
      <itunes:summary>Modifying the code to solve that version (same problem but without 0) is easy (a two character change); I can see how you could remember (most of the) solution after so long.  I assume Sinclair Basic didn't have recursion, handling it with loops seems tedious.</itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>86938</guid>
      <pubDate>Tue, 02 Aug 2005 17:45:35 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>.mpl is now allowed</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment86937</link>
      <itunes:summary>Sorry about that. I have to manually enter all extensions that are allowed, and I missed .mpl. It has been added to the list.
____
William Spaetzel
Applications Developer, Maplesoft</itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>86937</guid>
      <pubDate>Tue, 02 Aug 2005 18:27:00 Z</pubDate>
      <itunes:author>Will</itunes:author>
      <author>Will</author>
    </item>
    <item>
      <title>That's right, Spectrum BASIC</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment90113</link>
      <itunes:summary>That's right, Spectrum BASIC did not have recursion.
I don't recall the details of our implementation. Even if I find the backup (on audio tape or floppy disk), it won't be readable any more. AFAIR, we used a string to store the number.
Contrary to my intention, I've written a Maple worksheet, using a set of digits (the natural choice for such a brute force approach, IMHO).
Quick, but ugly. I'll post it in my blog.</itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>90113</guid>
      <pubDate>Tue, 02 Aug 2005 21:50:02 Z</pubDate>
      <itunes:author>Thomas Richard</itunes:author>
      <author>Thomas Richard</author>
    </item>
    <item>
      <title>Probabilistic approach</title>
      <link>http://www.mapleprimes.com/posts/43792-Solve-The-Latest-IBM-Ponder-This-Challenge?ref=Feed:MaplePrimes:Solve the Latest IBM "Ponder This" Challenge with Maple:Comments#comment80771</link>
      <itunes:summary>The probability that a K-digit number is divisible by K is approximately 1/K. The probability that first (K-1) digit of it is divisible by (K-1) is approximately 1/(K-1), etc... That gives a probability that a K-digit number satisfies the problem conditions, approximately 1/K! 

Now, there are (b-1)*b^(K-1) K-digit numbers in base b. Thus, the expected number of them, satisfying the problem conditions, is (b-1)*b^(K-1)/K!

Approximating factorial by Stirling formula, we get the following asymptotics of K with expected number 1, 

K(b) ~ (b-1)*e 

that is pretty close to the calculated maximal possible values of K. </itunes:summary>
      <description>The latest comments added to the Post, Solve the Latest IBM "Ponder This" Challenge with Maple</description>
      <guid>80771</guid>
      <pubDate>Sat, 06 Aug 2005 20:30:39 Z</pubDate>
      <itunes:author>alec</itunes:author>
      <author>alec</author>
    </item>
  </channel>
</rss>