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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

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 December 13 08:08 EST 2019. Contains 329968 sequences. (Running on oeis4.)