This is a documentation subpage for Template:Simple recursion. It contains usage information, categories and other content that is not part of the original page. |
This template uses Lua: |
Usage
Template:({Simple recursion|left repeated text|non-repeated text|right repeated text|depth}Template:)
Example
"{{Simple recursion|a|b|c|4}}"
gives "aaaabcccc""{{Simple recursion|f( |f(x) + g|) + g|7}}"
gives "f( f( f( f( f( f( f( f(x) + g) + g) + g) + g) + g) + g) + g) + g"{{math|[[Golden ratio|<var>φ</var>]] ≈ {{#expr: {{Simple recursion|(|1|)^-1+1|35}}}}}}"
gives "Template:Math" (iterative method, finding the largest of the solutions to )
See also