Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Simple recursion/doc: Difference between revisions

Template page
mNo edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 12:21, 28 July 2024

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>]] &asymp; {{#expr: {{Simple recursion|(|1|)^-1+1|35}}}}}}" gives "Template:Math" (iterative method, finding the largest of the solutions to )

See also