login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Positions of 8's in the decimal expansion of Pi.
3

%I #17 May 31 2021 10:08:38

%S 12,19,27,35,36,53,68,75,79,82,85,89,102,106,108,114,125,135,148,151,

%T 153,162,172,190,198,205,206,223,229,234,237,256,268,280,306,318,319,

%U 323,324,335,353,373,374,384,426

%N Positions of 8's in the decimal expansion of Pi.

%H Vincenzo Librandi, <a href="/A053752/b053752.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>

%F a(n) = A037006(n) + 1. - _Georg Fischer_, May 31 2021

%t Flatten[Position[RealDigits[Pi, 10, 1000][[1]], 8]] (* _Vincenzo Librandi_, Oct 07 2013 *)

%Y Cf. A037006.

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000