OFFSET
0
COMMENTS
Over the 2-adic integers there are 2 solutions to x^2 = 17, one ends in 01 and the other ends in 11. This sequence gives the latter one. See A341539 for detailed information.
LINKS
Jianing Song, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
If x = ...00000110011001100001011001101100100010111, then x^2 = 10001_2 = 17.
PROG
(PARI) a(n) = if(n==1, 1, truncate(-sqrt(17+O(2^(n+2))))\2^n)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jianing Song, Feb 13 2021
STATUS
approved