This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A051480 #11 Jul 31 2024 01:25:50 %S A051480 2,2,1,2,1,4,6,1,2,1,1,1,1,1,1,3,1,3,1,4,1,1,2,1,1,3,2,4,1,3,2,1,1,2, %T A051480 2,3,1,2,2,3,2,2,2,3,1,1,1,3,1,1,3,7,2,1,3,5,3,2,2,1,1,3,1,2,1,1,1,2, %U A051480 1,6,1,2,1,2,3,5,1,3,1,3,1,1,1,2,2,2,5,2,2,3,3,1,1,8,1,5,1,1,3,1,5,1,1,1,1 %N A051480 Run lengths in binary expansion of Pi. %H A051480 Paolo Xausa, <a href="/A051480/b051480.txt">Table of n, a(n) for n = 1..10000</a> %e A051480 The binary expansion of Pi is: 11. 00 1 00 1 0000 111111 0 ... %t A051480 Map[Length, Most[Split[First[RealDigits[Pi, 2, 300]]]]] (* _Paolo Xausa_, Jul 30 2024 *) %Y A051480 Cf. A000796, A004601. %K A051480 base,nonn %O A051480 1,1 %A A051480 H. Tracy Hall (hthall(AT)math.berkeley.edu)