OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
EXAMPLE
The 100th digit of Pi = the 100th digit of e = the 100th digit of the Golden Ratio = 7.
MATHEMATICA
Module[{nn=10000, pid, ed, grd}, pid=RealDigits[Pi, 10, nn][[1]]; ed= RealDigits[ E, 10, nn][[1]]; grd=RealDigits[GoldenRatio, 10, nn][[1]]; Flatten[ Position[ Transpose[{pid, ed, grd}], {x_, x_, x_}]]]
PROG
(Python 3.x)
from sympy import *
#pi, E, phi
pi_const = str(N(pi, 10000))
e_const = str(N(E, 10000))
phi_const = str(S.GoldenRatio.n(10000))
for x in range(10000):
if pi_const[x] == e_const[x]:
if e_const[x] == phi_const[x]:
print(x)
# Glen Gilchrist, Jan 02 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Dec 19 2015
STATUS
approved