|
| |
|
|
A030657
|
|
Parity of digits of Pi.
|
|
6
| |
|
|
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, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Moshe Levin, Table of n, a(n) for n = 1..10000
|
|
|
MATHEMATICA
| s = First[RealDigits[N[Pi, 1000]]]; aa = {}; Do[If[OddQ[s[[n]]], AppendTo[aa, 1], AppendTo[aa, 0]], {n, 1, Length[s]}]; aa [From Artur Jasinski (grafix(AT)csl.pl), Mar 05 2010]
s= RealDigits[N[Pi, 10000]][[1]]; Table[{n, Mod[s[[n]], 2]}, {n, 10000}](* this gives b-file *)(* Moshe Levin, Oct 05 2011*)
|
|
|
CROSSREFS
| A173999, A174000 [From Artur Jasinski (grafix(AT)csl.pl), Mar 05 2010]
Sequence in context: A176329 A030302 A051023 * A176178 A165728 A010890
Adjacent sequences: A030654 A030655 A030656 * A030658 A030659 A030660
|
|
|
KEYWORD
| nonn,base,easy
|
|
|
AUTHOR
| abdelkader.maghraoui (maghraoui.faure.recherche.entpe(AT)obelix.entpe.fr)
|
|
|
EXTENSIONS
| More terms from Simon Plouffe.
|
| |
|
|