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
%I A127266
%S A127266 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,
%T A127266 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,
%U A127266 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
%N A127266 Expansion of 1/Pi in base 2.
%o A127266 .(Python program. Replace leading dots by spaces)
%o A127266 .#!/usr/bin/python
%o A127266 ..........
%o A127266 .from math import tan
%o A127266 ..........
%o A127266 .for k in range(60):
%o A127266 ........ if tan(2**k) > 0:
%o A127266 ................ print '0'
%o A127266 ........ else:
%o A127266 ................ print '1'
%o A127266 ..........
%Y A127266 Cf. A004601.
%Y A127266 Sequence in context: A138710 A116865 A157687 this_sequence A083923 A101309 
               A141474
%Y A127266 Adjacent sequences: A127263 A127264 A127265 this_sequence A127267 A127268 
               A127269
%K A127266 base,easy,nonn
%O A127266 1,1
%A A127266 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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research