Smarandache Prime

Author

Eric W. Weisstein
November 6, 2015

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

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

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

Code

Position[FoldList[#2+#1 10^IntegerLength[#2]&,Range[1*^3]],_?PrimeQ]//Timing