A120822 a(n) consecutive digits ascending beginning with the digit 4 give a prime.
4, 8, 194
Offset: 1
Examples
8 is a term since 45678901 is a prime.
Crossrefs
Programs
-
Mathematica
fQ[n_] := PrimeQ@ FromDigits@ Mod[3+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst
Comments