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.

A321083 Digits of the 2-adic integer log_(-3)(5).

Original entry on oeis.org

1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0
Offset: 0

Views

Author

Jianing Song, Oct 27 2018

Keywords

Comments

See A321082 for the definition of log_5(-3) and more information.
Multiplicative inverse of A321081.

Examples

			log_(-3)(5) = ...0110111111010101110010000011110100001011.
		

Crossrefs

Programs

  • PARI
    b(n) = {my(v=vector(n)); v[3]=1; for(n=4, n, v[n] = v[n-1] + if(Mod(-3,2^n)^v[n-1] - 5==0, 0, 2^(n-3))); v}
    a(n) = b(n+3)[n+3]\2^n

Formula

a(n) = 0 if (-3)^A321082(n+2) - 5 is divisible by 2^(n+3), otherwise 1.
Equals to A152228/A321694.