A269592 Digits of one of the two 5-adic integers sqrt(-4). Here the ones related to A269590.
4, 2, 4, 2, 1, 4, 0, 2, 1, 1, 0, 0, 1, 3, 3, 1, 0, 4, 1, 3, 2, 4, 1, 3, 3, 4, 3, 3, 3, 3, 2, 1, 3, 3, 3, 3, 0, 1, 2, 2, 1, 2, 0, 0, 4, 1, 3, 0, 4, 1, 1, 3, 4, 3, 1, 1, 2, 1, 1, 1, 0, 0, 1, 3, 1, 3
Offset: 0
Examples
a(4) = -212*(2*364)^3 (mod 5) = -2*(2*(-1))^3 (mod 5) = 1.
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..10000
- BCMATH Congruence Programs, Finding a p-adic square root of a quadratic residue (mod p), p an odd prime..
Programs
-
PARI
a(n) = truncate(-sqrt(-4+O(5^(n+1))))\5^n; \\ Michel Marcus, Mar 04 2016
Comments