CTAN Comprehensive TeX Archive Network

New on CTAN: zeckendorf

Date: October 8, 2025 6:25:00 AM CEST
Jean-François Burnol submitted the zeckendorf package. Version number: 0.9alpha 2025-10-06 License type: lppl1.3c Summary description: Knuth multiplication and Zeckendorf representations of big integers Announcement text:
This package adds to \xintiieval’s syntax the $ character as infix operator computing the Knuth multiplication of positive integers. It adds functions to this syntax, as well as macros for use without it, to work with Fibonacci numbers and Zeckendorf representations. It can be used either as a LaTeX package, or with Plain eTeX, or on the command line in an interactive session using eTeX. Being based upon xintexpr, it allows to compute with "arbitrarily" big integers.
This package is located at https://mirrors.ctan.org/macros/generic/zeckendorf More information is at https://www.ctan.org/pkg/zeckendorf
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

Packagezeckendorf
Version0.9d 2025-11-16
Copyright2025 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author