<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Blog Entry, Car Talk Puzzler</title>
    <link>http://www.mapleprimes.com/maplesoftblog/128796-Car-Talk-Puzzler</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sun, 14 Jun 2026 02:37:24 GMT</lastBuildDate>
    <pubDate>Sun, 14 Jun 2026 02:37:24 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Blog Entry, Car Talk Puzzler</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Blog Entry, Car Talk Puzzler</title>
      <link>http://www.mapleprimes.com/maplesoftblog/128796-Car-Talk-Puzzler</link>
    </image>
    <item>
      <title>StringTools</title>
      <link>http://www.mapleprimes.com/maplesoftblog/128796-Car-Talk-Puzzler?ref=Feed:MaplePrimes:Car Talk Puzzler:Comments#comment128804</link>
      <itunes:summary>&lt;p&gt;Just for fun,&lt;/p&gt;
&lt;pre&gt;restart:
with(StringTools):

#T:=select(IsPalindrome,Generate(6,"0123456789")):  # slower

T:=[seq(cat(t,Reverse(t)), t in Generate(3,"0123456789"))]:

T:=map(parse,T):
T:=select(t-&amp;gt;t&amp;gt;=100000,T): # comment out, to allow leading zeros
T:=sort(T):

G:=infinity:
for i from 2 to nops(T) do
   Y := abs(T[i]-T[i-1]);
   if G&amp;gt;Y then
      G,P := Y,[T[i],T[i-1]];
   end if;
end do:

G,P;

                      11, [200002, 199991]
&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Blog Entry, Car Talk Puzzler</description>
      <guid>128804</guid>
      <pubDate>Thu, 15 Dec 2011 02:53:29 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
  </channel>
</rss>