A321692 Digits of the 2-adic integer exp(-4).
1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0
Offset: 0
Examples
exp(-4) = ...00110000100100101000011101101111110000101.
Links
- Wikipedia, p-adic number
Programs
-
PARI
a(n) = lift(sum(i=0, n-(n>=2), Mod(4^i/i!, 2^(n+1))))\2^n
-
PARI
a(n) = lift(exp(-4 + O(2^(n+1))))\2^n;
Comments