

A120824


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


8




OFFSET

1,1


COMMENTS

Digits are in ascending order beginning with 6 and after 9 comes 0.
The sequence "Primes with n consecutive digits descending beginning with the digit six" has no terms.


LINKS

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


EXAMPLE

6 is a term since 678901 is a prime.


MATHEMATICA

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


CROSSREFS

Cf. A006055, A120819, A120820, A120821, A120822, A120823, A120825, A120826, A120827.
Sequence in context: A226368 A058083 A034526 * A127564 A130874 A019020
Adjacent sequences: A120821 A120822 A120823 * A120825 A120826 A120827


KEYWORD

base,hard,nonn


AUTHOR

Robert G. Wilson v, Jul 05 2006


STATUS

approved



