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!)
A152228 2-adic expansion of log(5). 4
0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Wikipedia, p-adic number
FORMULA
a(n) = (A321690(n+1) - A321690(n))/2^n. - Jianing Song, Nov 17 2018
EXAMPLE
log(5) (2-adic) = ...0001110110010010000000011100100010011001111100 (base 2).
log(5) (2-adic) = 2^2 + 2^3 + 2^4 + 2^5 + 2^6 + 2^9 + 2^10 + 2^13 +...
exp( log(5) (2-adic) ) = 101 (base 2) = 5.
PROG
(PARI) a(n)=(truncate( log(5+2*O(2^n)) )%2^(n+1))\2^n
CROSSREFS
Cf. A068434, A321690, A321694 (log(-3)).
Sequence in context: A095190 A131735 A131736 * A368625 A086823 A228487
KEYWORD
base,nonn
AUTHOR
Paul D. Hanna, Nov 29 2008
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 May 7 17:41 EDT 2024. Contains 372312 sequences. (Running on oeis4.)