cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A321692 Digits of the 2-adic integer exp(-4).

Original entry on oeis.org

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

Views

Author

Jianing Song, Nov 17 2018

Keywords

Comments

This is the multiplicative inverse of A320815.

Examples

			exp(-4) = ...00110000100100101000011101101111110000101.
		

Crossrefs

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;

Formula

a(n) = (A321689(n+1) - A321689(n))/2^n.