title: How do I get Maxima to store function output?
body: <p>I have the logistic map function in Maxima like so:</p>
  
  <pre><code>F(x,r,n):= x[n]=r*x[n-1]*(1-x[n-1]);
  </code></pre>
  
  <p>And when I input the correct variables it gives me the answer to, for example, x[0]:</p>
  
  <pre><code>(%i15)  n:0$
  x[n-1]:[0.1]$
  F(x, r:3, n);
  (%o15)  x[0]=[0.27]
  </code></pre>
  
  <p>However, this answer does not stay memorized and when I enter x[0] I get</p>
  
  <pre><code>    x[0];
  (%o5)   x[0]
  </code></pre>
  
  <p>How do I write a function that will calculate x[n] for me and store it in memory, so I can use it later? I am trying to make a bifurcation diagram for the logistic map without using any black boxes, i.e., the orbits functions.</p>
  
  <p>Thank you!</p>