Numeral systems: more information about certain ones

This is my place to put more information about stuff on my numeral systems page

Fibonacci

See the Wikipedia article for some general information (also negafibonacci).

I've generalized Fibonacci coding in two different ways. The first is "Fibonacci (positional)", which is based on the fact that in Fibonacci coding, each position in the number represents a specific value from the Fibonacci sequence. You can change the sequence to various other sequences of the form an = c1an-1 + … + ckan-k. "Starting values" gives the initial values for the sequence, and "coefficients" gives the c terms, starting from the coefficient for an-1. Some caveats:

The other way I generalized Fibonacci coding "Fibonacci coding (prefix code)", which is based on the version where 11 indicates the end of the code. You can enter any number of digits (each digit being a single character, so e.g. "01" allows any binary digit, "0123456789" would allow any base 10 digit), and any sequence that the number should end with. The positive integers are then each assigned a code, in order, skipping over the ones that contain the ending sequence.

The "Fibonacci" preset for both of these (with "Smallest to largest" selected in the positional one) should give the same result; however, for Tribonacci, they give different results. That's because when the Tribonacci coding is generated from the Tribonacci numbers, "111" is avoided within the number, but "11" isn't, and in particular, "11" can appear at the end. When two extra 1's get added, it becomes "1111", which now has "111" before the end.