Creating recurrent sequence by conditional formula in F#
<p>Good day.
What is the best way to create a sequence (maybe finite) or list by the formula below?</p>

<p><a href="https://i.stack.imgur.com/l4u01.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l4u01.jpg" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/fLJR7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fLJR7.jpg" alt="enter image description here"></a></p>

<p>For example, from 1 to 9 it will be </p>

<blockquote>
  <p><strong>1</strong>, 2, <strong>4</strong>, 5, <strong>10</strong>, 11, <strong>22</strong>, 23, <strong>46</strong></p>
</blockquote>

<p>I think <strong>List.fold</strong> or <strong>List.scan</strong> can be used there, but I don't know where to write <strong>yield</strong>.</p>