login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120827 Primes with n consecutive digits ascending beginning with the digit nine. 8
13, 29, 43 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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

The sequence "Primes with n consecutive digits descending beginning with the digit nine" has no terms.

There is no further term up to 26000. - Farideh Firoozbakht, Sep 11 2006

LINKS

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

EXAMPLE

13 is a term since 9012345678901 is a prime.

MATHEMATICA

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

Flatten[Position[Table[FromDigits[PadRight[{}, n, {9, 0, 1, 2, 3, 4, 5, 6, 7, 8}]], {n, 100}], _?PrimeQ]] (* Harvey P. Dale, Sep 06 2015 *)

CROSSREFS

Cf. A006055, A120819, A120820, A120821, A120822, A120823, A120824, A120825, A120826.

Sequence in context: A045472 A240950 A141293 * A320631 A228069 A044074

Adjacent sequences:  A120824 A120825 A120826 * A120828 A120829 A120830

KEYWORD

base,bref,hard,nonn

AUTHOR

Robert G. Wilson v, Jul 05 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 02:05 EST 2018. Contains 318049 sequences. (Running on oeis4.)