<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>1542</id>
  <path>/www/nrich/html/content/00/03/logo1/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://nrich.maths.org/8045&quot;&gt;First Forward Into Logo&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;Previous:&lt;/strong&gt;&lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=4857&amp;amp;part=&quot;&gt; FF9&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p class=&quot;editorial&quot;&gt;WARNING - You may need to press &quot;Halt&quot; to stop some of these procedures!!&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;You might like to begin by thinking about two procedures:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
TO COUNTUP :X
 
PR :X
 
COUNTUP :X + 3
 
END
 
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Try COUNTUP 2&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
TO COUNTDOWN :X
 
PR :X
 
COUNTDOWN :X - 2
 
END
 
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Try COUNTDOWN 189&lt;/p&gt;
&lt;p&gt;As before, discuss with others and try evaluating the procedures BEFORE copying them out and experimenting further.&lt;/p&gt;
&lt;p&gt;Now, here are two more procedures you might like to think about:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
TO FAC :X :A
 
PR :A 
 
FAC :X + 1 :X * :A
 
END
 
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Try FAC 11&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
TO MULTI :X :A
 
PR :A
 
MULTI :X :X + :A
 
END
 
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Try MULTI 2 0; MULTI 2 1 ...etc&lt;/p&gt;
&lt;p&gt;Can all the sequences of number that you know, be programmed in LOGO?&lt;/p&gt;
&lt;p&gt;Why not submit other procedures that you have used to generate other special number sequences?&lt;/p&gt;
&lt;p&gt;While geometrically&lt;/p&gt;
&lt;p&gt;...the challenge is to program ELEGANTLY the drawing of the smaller pentagrams onto the &amp;#39;arms&amp;#39; of the larger one, as shown below.&lt;/p&gt;
&lt;p&gt;&lt;mdo:image alt=&quot;&quot; height=&quot;412&quot; src=&quot;fig1.gif&quot; width=&quot;402&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt;&lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=4860&amp;amp;part=INDEX&quot;&gt; FF11&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML/>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>First Forward into Logo 10: Count Up - Count Down</title>
  <description>What happens when a procedure calls itself?</description>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Iteration</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Practical Activity</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Logo</specifier>
  </spec_group>
</resource>