login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A159031 Primes of the form "1 [0]_n 7" - with zeros between 1 and 7. 11
17, 107, 10007, 100000007, 1000000007, 1000000000000000000000007, 1000000000000000000000000000000000000000000000000000000000007 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The next term, a(8), has 111 digits. - Harvey P. Dale, Nov 12 2011

LINKS

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

Dario Alejandro Alpern, Factorization using the Elliptic Curve Method.

Makoto Kamada, Prime numbers of the form 100...007.

Index entries for primes involving repunits.

EXAMPLE

1000000000000000000000007 is a prime with 23 zeros between 1 and 7.

MATHEMATICA

Do[ If[ PrimeQ[10^n + 7], Print[10^n + 7]], {n, 100}] (* Robert G. Wilson v, Apr 05 2009 *)

Select[Table[FromDigits[Join[{1}, PadRight[{}, n, 0], {7}]], {n, 0, 120}], PrimeQ] (* Harvey P. Dale, Nov 12 2011 *)

CROSSREFS

Cf. A088274. - Robert G. Wilson v, Apr 05 2009

Sequence in context: A007682 A125327 A126485 * A080441 A135400 A052254

Adjacent sequences:  A159028 A159029 A159030 * A159032 A159033 A159034

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, Apr 02 2009

EXTENSIONS

a(7) from Robert G. Wilson v, Apr 05 2009

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 May 15 06:18 EDT 2021. Contains 343909 sequences. (Running on oeis4.)