generate a Fibonacci string
Fibonacci( n, a, b )
non-negative integer; specifies that Fibonacci return the nth Fibonacci string
character; (optional) first symbol to use
character; (optional) second symbol to use
The Fibonacci(n, a, b) generates the nth Fibonacci string, with initial values a and b. The arguments after the first are optional, and default to the strings 0 and 1, respectively.
Given starting symbols a and b, the nth Fibonacci string is defined by the recurrence Fibonacci( n, a, b ) = cat( Fibonacci( n - 1, a, b ), Fibonacci( n - 2, a, b ) ), for 1<n, and the initial conditions Fibonacci( 0, a, b ) = b and Fibonacci( 1, a, b ) = a. The length of Fibonacci( n ) is equal to the nth+1 Fibonacci number.
The Fibonacci procedure has option remember.
All of the StringTools package commands treat strings as (null-terminated) sequences of 8-bit (ASCII) characters. Thus, there is no support for multibyte character encodings, such as unicode encodings.
Download Help Document
What kind of issue would you like to report? (Optional)