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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096498 Prime before n-th repunit. 17
7, 109, 1109, 11093, 111109, 1111091, 11111101, 111111109, 1111111097, 11111111059, 111111111103, 1111111111093, 11111111111053, 111111111111053, 1111111111111039, 11111111111111107, 111111111111111091, 1111111111111111037, 11111111111111111027, 111111111111111111053, 1111111111111111111097 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

LINKS

Table of n, a(n) for n=2..22.

FORMULA

a(n) = A002275(n) - A096870(n) = A096497(n) - A096499(n).

MATHEMATICA

Table[NextPrime[(10^n - 1)/9, -1], {n, 2, 22}] (* updated by Michael De Vlieger, May 02 2016 *)

PROG

(PARI) a(n) = precprime((10^n-1)/9 - 1); \\ Michel Marcus, May 02 2016

CROSSREFS

Cf. A068693, A002275, A096497.

Sequence in context: A106977 A142480 A202515 * A123804 A274668 A239848

Adjacent sequences:  A096495 A096496 A096497 * A096499 A096500 A096501

KEYWORD

nonn

AUTHOR

Labos Elemer, Jul 09 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified July 28 22:21 EDT 2016. Contains 275149 sequences.