<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, lists</title>
    <link>http://www.mapleprimes.com/questions/35576-Lists</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 18 Jun 2026 07:38:17 GMT</lastBuildDate>
    <pubDate>Thu, 18 Jun 2026 07:38:17 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, lists</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, lists</title>
      <link>http://www.mapleprimes.com/questions/35576-Lists</link>
    </image>
    <item>
      <title>simpler</title>
      <link>http://www.mapleprimes.com/questions/35576-Lists?ref=Feed:MaplePrimes:lists:Comments#answer44343</link>
      <itunes:summary>&lt;pre&gt;
[seq([seq(`if`((j+k)::even,s,t),j=1..k)],k=1..5)];
                         [[s], [t, s], [s, t, s], [t, s, t, s], [s, t, s, t, s]]
&lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;
[seq([seq(`if`((j+k)::even,s,t),j=1..k)],k=1..5)];
                         [[s], [t, s], [s, t, s], [t, s, t, s], [s, t, s, t, s]]
&lt;/pre&gt;</description>
      <guid>44343</guid>
      <pubDate>Sun, 07 Mar 2010 06:49:37 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>Sorry I am trying really</title>
      <link>http://www.mapleprimes.com/questions/35576-Lists?ref=Feed:MaplePrimes:lists:Comments#answer44344</link>
      <itunes:summary>&lt;p&gt;Sorry I am trying really hard to get my head around this but I am failing.&lt;/p&gt;
&lt;p&gt;I get that j=1...k is the part which determines the size of each list, in this case going up to 5&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;however I really dont get the part&amp;nbsp;&amp;nbsp;&amp;nbsp; (`if`((j+k)::even,s,t),j=1..k)], is it saying if j+k is even then the element is s, if not it is t&lt;/p&gt;
&lt;p&gt;i.e [[ 1+1=even therefore s], [2+1=odd therfore t, 1+1=even therefore s], [ 3+1=even hence s] etc.....&lt;/p&gt;
&lt;p&gt;sorry I am just very confused.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Sorry I am trying really hard to get my head around this but I am failing.&lt;/p&gt;
&lt;p&gt;I get that j=1...k is the part which determines the size of each list, in this case going up to 5&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;however I really dont get the part&amp;nbsp;&amp;nbsp;&amp;nbsp; (`if`((j+k)::even,s,t),j=1..k)], is it saying if j+k is even then the element is s, if not it is t&lt;/p&gt;
&lt;p&gt;i.e [[ 1+1=even therefore s], [2+1=odd therfore t, 1+1=even therefore s], [ 3+1=even hence s] etc.....&lt;/p&gt;
&lt;p&gt;sorry I am just very confused.&lt;/p&gt;</description>
      <guid>44344</guid>
      <pubDate>Tue, 09 Mar 2010 03:27:12 Z</pubDate>
      <itunes:author>mathperson</itunes:author>
      <author>mathperson</author>
    </item>
    <item>
      <title>parity</title>
      <link>http://www.mapleprimes.com/questions/35576-Lists?ref=Feed:MaplePrimes:lists:Comments#answer44345</link>
      <itunes:summary>&lt;p&gt;From your examples I deduced that you wanted the first element in a list to be s if the number of elements in the list is odd, otherwise the first element is t. After that, the elements alternate between s and t.&amp;nbsp; This was an easy way to both alternate parity (with j) and ensure that the first element of each sublist was the appropriate term.&amp;nbsp; Your explanation is correct.&amp;nbsp; &lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;From your examples I deduced that you wanted the first element in a list to be s if the number of elements in the list is odd, otherwise the first element is t. After that, the elements alternate between s and t.&amp;nbsp; This was an easy way to both alternate parity (with j) and ensure that the first element of each sublist was the appropriate term.&amp;nbsp; Your explanation is correct.&amp;nbsp; &lt;/p&gt;</description>
      <guid>44345</guid>
      <pubDate>Tue, 09 Mar 2010 04:05:52 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
  </channel>
</rss>