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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120823 Primes with n consecutive digits ascending beginning with the digit five. 9
1, 29, 269, 689 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

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

The sequence "Primes with n consecutive digits descending beginning with the digit five" has only one term, 1 which represents the prime 5.

EXAMPLE

29 is a term since 56789012345678901234567890123 is a prime.

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A146038 A142683 A042634 * A186263 A110692 A081684

Adjacent sequences:  A120820 A120821 A120822 * A120824 A120825 A120826

KEYWORD

base,bref,hard,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 08:06 EST 2012. Contains 205604 sequences.