cp's OEIS Frontend

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.

A030657 Parity of digits of Pi.

This page as a plain text file.
%I A030657 #27 Jun 22 2020 17:36:07
%S A030657 1,1,0,1,1,1,0,0,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,1,1,0,1,0,1,1,1,0,0,
%T A030657 0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,
%U A030657 1,0,0,0,0,0,0,0,0,0,0,1,1
%N A030657 Parity of digits of Pi.
%H A030657 Zak Seidov, <a href="/A030657/b030657.txt">Table of n, a(n) for n = 1..10000</a> [a(10000)=1 corrected by _Georg Fischer_, Jun 22 2020]
%F A030657 a(n) = A000035(A000796(n)). - _Omar E. Pol_, Oct 26 2013
%t A030657 s = First[RealDigits[N[Pi, 1000]]]; aa = {}; Do[If[OddQ[s[[n]]], AppendTo[aa, 1], AppendTo[aa, 0]], {n, 1, Length[s]}]; aa (* _Artur Jasinski_, Mar 05 2010 *)
%t A030657 s= RealDigits[N[Pi, 10000]][[1]];Table[{n,Mod[s[[n]],2]},{n,10000}](* this gives b-file *)(* _Zak Seidov_, Oct 05 2011*)
%Y A030657 Cf. A173999, A174000.
%K A030657 nonn,base,easy
%O A030657 1,1
%A A030657 _Maghraoui Abdelkader_
%E A030657 More terms from _Simon Plouffe_.