OFFSET
1,1
COMMENTS
MATHEMATICA
re=RealDigits[N[Pi, 2900]][[1]]; b={}; Do[r=re[[n]]; If[r==(re[[n-1]]+re[[n+1]])/2, b=Append[b, r]], {n, 2, 2899}]; A108535=b
With[{pid=RealDigits[Pi, 10, 1300][[1]]}, Flatten[Position[Partition[ pid, 3, 1], _?((#[[1]]+#[[3]])/2==#[[2]]&), 1, Heads->False]]]+1 (* Harvey P. Dale, Apr 30 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jun 08 2005
STATUS
approved