

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

Table of n, a(n) for n=1..3.


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

Cf. A006055, A120829, A120819, A120820, A120821, A120823, A120824, A120825, A120826, A120827.
Sequence in context: A264510 A188268 A133262 * A013065 A013096 A200729
Adjacent sequences: A120819 A120820 A120821 * A120823 A120824 A120825


KEYWORD

base,bref,hard,nonn


AUTHOR

Robert G. Wilson v, Jul 05 2006


STATUS

approved



