Ben Chuanlong Du's Blog

And let it direct your passion with reason.

First 10-digit Prime in Consecutive Digits of Euler Constant?

One day my friend Ru He asked me a question.

What is the first 10-digit prime found in consecutive digits of e?

This is an easy problem with the help of Mathematica. The following is the Mathematica code I wrote to solve this question. It actually solves the general problem …