Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102243
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102243 Expansion of pi in golden base (i.e. in irrational base phi=(1+sqrt(5))/2). +0
2
1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0 (list; cons; graph; listen)
OFFSET

-2,1

EXAMPLE

Pi=phi^2+1/phi^2+1/phi^5+1/phi^7+... thus pi=100.0100101010010001010101000001010... in golden base

PROGRAM

(PARI) f=(1+sqrt(5))/2; z=Pi; b=0; m=100; for(n=1, m, c=ceil(log(z)/log(1/f)); z=z-1/f^c; b=b+1./10^c; if(n==m, print1(b, ", ")))

CROSSREFS

Adjacent sequences: A102240 A102241 A102242 this_sequence A102244 A102245 A102246

Sequence in context: A015777 A014017 A121262 this_sequence A104108 A089024 A068430

KEYWORD

base,cons,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Feb 18 2005

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 October 13 02:37 EDT 2008. Contains 145008 sequences.


AT&T Labs Research