|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
See A321082 for the definition of log_5(-3) and more information.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 0 if (-3)^A321082(n+2) - 5 is divisible by 2^(n+3), otherwise 1.
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|