Preview for editing tables

In this editor you can enter or edit tables in YAML format, and you can get a preview of how numberdb would render it. You cannot save changes here. Once everything looks good, upload it to the git repository numberdb-data.
— preview —
Values of the $p$-adic arithmetic-geometric mean
edit on github
Numbers
$p$
$a$
$b$ 
$\text{agm}_p(a,b)$
INPUT{numbers.yaml} (not shown in preview)
Definition
The $p$-adic arithmetic-geometric mean $\text{agm}_p(a,b)$ of two $p$-adic numbers $a$ and $b$ is defined as the simultaneous limit $\lim a_n = \lim g_n$ of the sequences $(a_n)$ and $(g_n)$ given by $a_0 = a$, $g_0 = b$, $a_{n+1} = (a_n + g_n)/2$, $g_{n+1} = \sqrt{a_n g_n}$. This table lists values of $\text{agm}_p(a,b)$ for certain pairs of integers $a$ and $b$.
Parameters
$p$
—   integer (prime
)
$a$
—   p-adic number
$b$
—   p-adic number ($a/b = 1 \mod p$ (mod $16$ for $p=2$)

)
Formulas
(1)
$\text{agm}_p(a,b) = \text{agm}_p(b,a)$
(2)
$\text{agm}_p(a,a) = a$
Comments
(3)
Due to the symmetry (1) and trivial cases (2), we only list values for $a < b$.
Links
Data properties
Entries are of type: real number
Table is complete: no