p-Adic Continued Fractions

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The -adic continued fraction of a -adic number is similar to the usual (simple) continued fraction in the reals with the requirement that . Since the rational numbers are a subset of the -adics, every rational number has a unique -adic continued fraction (which can be shown to be finite). This Demonstration computes the -adic continued fractions for all rational numbers of the form where is less than 1000 and and are positive integers less than or equal to 100.

Contributed by: Eric Errthum (March 2011)
Open content licensed under CC BY-NC-SA



J. Browkin, "Continued Fractions in Local Fields I," Demonstratio Mathematica, 11(1), 1978 pp. 67–82.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.