login
A321083
Digits of the 2-adic integer log_(-3)(5).
3
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,1
COMMENTS
See A321082 for the definition of log_5(-3) and more information.
Multiplicative inverse of A321081.
LINKS
FORMULA
a(n) = 0 if (-3)^A321082(n+2) - 5 is divisible by 2^(n+3), otherwise 1.
Equals to A152228/A321694.
EXAMPLE
log_(-3)(5) = ...0110111111010101110010000011110100001011.
PROG
(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
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jianing Song, Oct 27 2018
STATUS
approved