OFFSET
0
COMMENTS
LINKS
Jianing Song, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
If x = ...00100010001100111011000011010001001010011, then x^2 = ...1111001100110011110100110010011011101001 = A322217, x^4 = 10001_2 = 17.
PROG
(PARI) a(n) = truncate(-sqrtn(17+O(2^(n+3)), 4))\2^n
CROSSREFS
Approximations of p-adic fourth-power roots:
A341753, this sequence (2-adic, 17^(1/4));
KEYWORD
nonn,base
AUTHOR
Jianing Song, Feb 18 2021
STATUS
approved