Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152228
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152228 2-adic expansion of log(5). +0
1
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; listen)
OFFSET

0,1

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.

PROGRAM

(PARI) a(n)=(truncate( log(5+2*O(2^n)) )%2^(n+1))\2^n

CROSSREFS

Sequence in context: A095190 A131735 A131736 this_sequence A086823 A104121 A157928

Adjacent sequences: A152225 A152226 A152227 this_sequence A152229 A152230 A152231

KEYWORD

base,nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Nov 29 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research