Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127266
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A127266 Expansion of 1/Pi in base 2. +0
1
0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0 (list; graph; listen)
OFFSET

1,1

PROGRAM

(Python program. Replace leading dots by spaces)

#!/usr/bin/python

.........

from math import tan

.........

for k in range(60):

....... if tan(2**k) > 0:

............... print '0'

....... else:

............... print '1'

.........

CROSSREFS

Cf. A004601.

Sequence in context: A038219 A138710 A116865 this_sequence A083923 A101309 A073424

Adjacent sequences: A127263 A127264 A127265 this_sequence A127267 A127268 A127269

KEYWORD

base,easy,nonn

AUTHOR

Thomas Klemm (thomas.klemm(AT)adnouvm.ch), Mar 27 2007

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 September 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research