Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title

p-adic Arithmetic
Author

Stany De Smedt
Organization: KBC Bank & Verzekeringen
Journal / Anthology

The Mathematica Journal
Year: 2004
Volume: 9
Issue: 2
Page range: 349-357
Contents

Introduction; p-adic Order and Valuation; Conversion to p-adics; Basic p-adic Arithmetic; Booleans and Selectors on p-adic Rationals; Function Expansion; VolkenbornIntegral; p-adic Newton Method; References; Additional Material
Description

The p-adic numbers were introduced by K. Hensel in 1908 in his book Theorie der algebra´schen Zahlen, Leipzig, 1908. In this article we present a package that does p-adic calculations using Mathematica. It allows addition, subtraction, multiplication, and division of p-adic numbers written in Hensel expansion. Functions, such as sqrt, log, exp, sin, cos, sinh, and cosh, are defined using their power series expansion. We also calculate the coefficients of a continuous function with respect to the Mahler and Vanderput bases, and implement the p-adic Newton method.
Subject

*Mathematics > Number Theory
URL

http://www.mathematica-journal.com/issue/v9i2/contents/Padic/Padic.nb
http://www.mathematica-journal.com/issue/v9i2/contents/Padic/Padic_1.html