OFFSET
1,2
COMMENTS
From M. F. Hasler, Jul 28 2024: (Start)
"Positions" are indices n of digits d(n) such that Pi = Sum_{n >= 0} d(n)/10^n; see A053745 for the variant where the initial digit 3 is at position 1.
The first few primes in this sequence are 3, 37, 103, 163, 269, 281, 499, 541, 547, 587, 607, 709, 797, 859, 887, 971, 983, 997, ... (End)
LINKS
Robert Israel, Table of n, a(n) for n = 1..10137
Eric Weisstein's World of Mathematics, Pi Digits
FORMULA
Conjecturally, a(n) ~ 10n.
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 *)
PROG
(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
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Nicolau C. Saldanha (nicolau(AT)mat.puc-rio.br)
STATUS
approved