Mutual recursion: Difference between revisions

Content added Content deleted
m (Updated description and link for Fōrmulæ solution)
Line 2,316: Line 2,316:
0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6</pre>
0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6</pre>


=={{header|Mathematica}}==
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Without caching:
Without caching:
<lang Mathematica>f[0]:=1
<lang Mathematica>f[0]:=1