OFFSET
0,1
COMMENTS
The digits of the decimal expansions are numbered starting with 1 at the initial digits 3 (resp. 2).
LINKS
Zhining Yang, Table of n, a(n) for n = 0..9999
EXAMPLE
a(9) = 13 because the first "9" appears simultaneously in Pi and e at index 13:
Pi = 3.1415926535897932384626...
. ...........|.............
e = 2.7182818284590452353602...
MATHEMATICA
pi=RealDigits[Pi, 10, 40000][[1]];
e=RealDigits[E, 10, 40000][[1]];
Table[Intersection[SequencePosition[pi, IntegerDigits[k]][[All, 1]], SequencePosition[e, IntegerDigits[k]][[All, 1]]][[1]], {k, 0, 52}]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Zhining Yang, Mar 11 2025
STATUS
approved
