

A120822


Primes with n consecutive ascending digits beginning with the digit four.


8




OFFSET

1,1


COMMENTS

Digits are in ascending order beginning with 4; after 9 comes 0.


LINKS



EXAMPLE

8 is a term since 45678901 is a prime.


MATHEMATICA

fQ[n_] := PrimeQ@ FromDigits@ Mod[3+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst


CROSSREFS



KEYWORD

base,bref,hard,nonn


AUTHOR



STATUS

approved



