CTAN Comprehensive TeX Archive Network

zeckendorf – Knuth Fibonacci multiplication, Zeckendorf and Bergman representations of big integers

This package extends the \xinteval syntax to do algebra in Q(phi) (where phi is the golden ratio), and compute Fibonacci numbers, Zeckendorf representations of positive integers and Bergman phi-representations of the positive elements of Z[phi]. The $ character is used to compute the Knuth Fibonacci multiplication.

The package can be used either in a document, or with Plain , or on the command line in an interactive session using .

Being based upon xintexpr, it allows to compute with “arbitrarily” big integers, the reasonable use being with integers of at most a few hundreds of digits.

Sources/macros/generic/zeckendorf
Documentation
Version0.9c 2025-10-17
LicensesThe Project Public License 1.3c
Copyright2025 Jean-François Burnol
MaintainerJean-François Burnol
Contained inTeX Live as zeckendorf
MiKTeX as zeckendorf
TopicsCalculation
Arithmetic

Download the contents of this package in one zip archive (213.8k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author