Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120825
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120825 Primes with n consecutive digits ascending beginning with the digit seven. +0
9
1, 5, 15, 51 (list; graph; listen)
OFFSET

1,2

COMMENT

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

The sequence "Primes with n consecutive digits descending beginning with the digit seven" has only two terms below 6001, namely 1 & 5 which represents the primes 7 & 76543.

EXAMPLE

15 is term since 789012345678901 is a prime.

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A034539 A029609 A014274 this_sequence A149576 A149577 A149578

Adjacent sequences: A120822 A120823 A120824 this_sequence A120826 A120827 A120828

KEYWORD

base,bref,hard,nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research