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.

A174000 Successive positions of even digits after comma in decimal expansion of Pi.

This page as a plain text file.
%I A174000 #11 Jul 22 2025 07:51:36
%S A174000 2,6,7,11,16,18,19,20,21,22,23,26,28,32,33,34,35,36,41,50,52,53,54,57,
%T A174000 59,60,63,65,67,69,70,71,72,73,74,75,76,77,78,81,82,83,84,85,87,88,89,
%U A174000 92,93,97,98,101,102,104,105,106,107,108,112,113,114,116,117,118,119
%N A174000 Successive positions of even digits after comma in decimal expansion of Pi.
%e A174000 Pi=3,141592653589793...
%e A174000 2 is in this sequence because second digit after comma 4 is even.
%t A174000 s = First[RealDigits[N[Pi, 1000]]]; aa = {}; Do[If[OddQ[s[[n]]], AppendTo[aa, n - 1]], {n, 1, Length[s]}]; aa (*Artur Jasinski*)
%t A174000 Flatten[Position[RealDigits[Pi,10,150][[1]],_?EvenQ]]-1 (* _Harvey P. Dale_, Sep 12 2017 *)
%Y A174000 Cf. A000796, A173999.
%K A174000 nonn,base
%O A174000 1,1
%A A174000 _Artur Jasinski_, Mar 05 2010
%E A174000 Edited by _Charles R Greathouse IV_, Aug 02 2010