login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120820 Primes with n consecutive digits ascending beginning with the digit two. 8
1, 2, 8, 82, 118, 158, 2122, 2242, 2388 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Digits are in ascending order beginning with 2 and after 9 comes 0.
The sequence "Primes with n consecutive digits descending beginning with the digit two" has only one term, 1 which represents the prime 2.
LINKS
EXAMPLE
8 is a term since 23456789 is a prime.
MATHEMATICA
fQ[n_] := PrimeQ@ FromDigits@ Mod[1+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst
CROSSREFS
Sequence in context: A134086 A297566 A013175 * A295600 A336252 A276488
KEYWORD
base,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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 27 03:18 EDT 2024. Contains 374636 sequences. (Running on oeis4.)