<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I get Odd numbers 1-100</title><link>https://community.appian.com/discussions/f/general/23967/how-do-i-get-odd-numbers-1-100</link><description>How do I get Odd numbers 1-100 ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/141665?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 04:38:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d607071-568f-4fe1-aaaa-829bbc341985</guid><dc:creator>varshithak774792</dc:creator><description>&lt;p&gt;a!localVariables(&lt;br /&gt; local!values : a!forEach(&lt;br /&gt; items: enumerate(100)+1,&lt;br /&gt; expression: if(&lt;br /&gt; mod(fv!item,2) = 0,&lt;br /&gt; 0,&lt;br /&gt; odd(fv!item)&lt;br /&gt; )&lt;br /&gt;),&lt;br /&gt; local!odds : remove(local!values,wherecontains({null(),0},local!values)),&lt;br /&gt; local!odds&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/141663?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2024 10:53:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01cf572c-5192-4b1d-a4d4-5a088b2c99a8</guid><dc:creator>Akshat Lakhera</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!start:1, 
  local!end:100,
  local!dif: local!end-local!start,
  local!list:odd(enumerate(local!dif)+local!start),
  union(
    local!list,
    local!list
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/92281?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 21:19:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27645acd-61c1-4726-90dd-d5d97d095277</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;If you&amp;#39;re looking for pure performance then this is a better option. For 100 numbers though the difference is essentially non-existent.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;where(
  apply(
    fn!mod,
    1 + enumerate(100000),
    2
  ) &amp;lt;&amp;gt; 0
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/92277?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 16:17:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74d19043-7857-43ed-a337-405a521075cd</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f602.svg" title="Joy"&gt;&amp;#x1f602;&lt;/span&gt; looks like interview questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/92275?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 16:01:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:daf4b571-4674-4c96-b8e6-0f30ce3092ff</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Out of context tho, but are these some assignment questions that you have to complete and submit? &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I get Odd numbers 1-100</title><link>https://community.appian.com/thread/92254?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 09:19:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:812c62e1-68d9-42c6-80c1-8c75ef5c54af</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, See below code.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!forEach(
    items: enumerate(100)+1,
    expression: if(
      mod(fv!item,2)=0,
      {},
      fv!item
    )
  )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>