Titanic Prime

Author

Eric W. Weisstein
June 8, 2023

This notebook downloaded from http://mathworld.wolfram.com/notebooks/PrimeNumbers/TitanicPrime.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/TitanicPrime.html.

©2023 Wolfram Research, Inc. except for portions noted otherwise

Smallest

(smallest=NextPrime[(10^999)]-(10^999))//Timing

IntegerLength[smallest]

Sequence

A074282

Rest@NestList[NextPrime,(10^999),10]-(10^999)//Timing

Cases[Import["https://oeis.org/A074282/b074282.txt","Table"],{_Integer,n_Integer}:>n]

Select[Range[65000],PrimeQ[10^999+#]&]//Timing

Position[10^999+Range[65000],_?PrimeQ]//Flatten//Timing