The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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.
Multiplicative inverse of A321081.
LINKS
Wikipedia, p-adic number
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
Sequence in context: A266155 A262683 A359816 * A154269 A036987 A354193
KEYWORD
nonn,base
AUTHOR
Jianing Song, Oct 27 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 2 00:37 EDT 2024. Contains 373032 sequences. (Running on oeis4.)