

A120828


Primes with n consecutive digits descending beginning with the digit one.


2




OFFSET

1,1


COMMENTS

Digits are in descending order beginning with 1 and after 0 comes 9.


LINKS

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


EXAMPLE

5 is a term since 10987 is a prime.


MATHEMATICA

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


CROSSREFS

Cf. A120804, A120819 A120829.
Sequence in context: A001790 A173092 A057908 * A077784 A145640 A222496
Adjacent sequences: A120825 A120826 A120827 * A120829 A120830 A120831


KEYWORD

base,hard,nonn


AUTHOR

Robert G. Wilson v, Jul 05 2006


STATUS

approved



