A037000 Positions of the digit '1' in the decimal expansion of Pi.
1, 3, 37, 40, 49, 68, 94, 95, 103, 110, 138, 148, 153, 154, 155, 163, 168, 174, 175, 198, 206, 220, 238, 243, 246, 250, 269, 281, 295, 297, 314, 319, 324, 342, 344, 362, 363, 381, 385, 390, 393, 395, 396, 417, 424, 427, 428, 432, 437, 438, 442, 445, 446
Offset: 1
Links
- Robert Israel, Table of n, a(n) for n = 1..10137
- Eric Weisstein's World of Mathematics, Pi Digits
Crossrefs
Programs
-
Maple
P:= convert(evalf[100000](Pi),string)[3..-1]: select(t -> P[t]="1",[$1..length(P)-1]); # Robert Israel, Dec 22 2013
-
Mathematica
Flatten @ Position[ RealDigits[Pi - 3, 10, 500][[1]], 1] (* Robert G. Wilson v, Mar 07 2011 *)
-
PARI
A037000_upto(N=500, d=1)={localprec(N+20); [i-1|i<-[1..#N=digits(Pi\10^-N)], N[i]==d]} \\ M. F. Hasler, Jul 28 2024
Formula
Conjecturally, a(n) ~ 10n.
Comments