login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127266 Expansion of 1/Pi in base 2. 0
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; refs; listen; history; internal format)
OFFSET

1,1

PROG

.(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: A179829 A116865 A157687 * A083923 A101309 A141474

Adjacent sequences:  A127263 A127264 A127265 * A127267 A127268 A127269

KEYWORD

base,easy,nonn

AUTHOR

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 02:30 EST 2012. Contains 205860 sequences.