

A103012


Numbers n such that 5*10^n + 3*R_n + 6 is prime, where R_n = 11...1 is the repunit (A002275) of length n.


1




OFFSET

1,2


COMMENTS

Also numbers n such that (16*10^n+17)/3 is prime.


LINKS

Table of n, a(n) for n=1..8.
Makoto Kamada, Prime numbers of the form 533...339.
Index entries for primes involving repunits.


FORMULA

a(n) = A101577(n) + 1.


MATHEMATICA

Do[ If[ PrimeQ[(16*10^n + 17)/3], Print[n]], {n, 0, 10000}]


CROSSREFS

Cf. A002275, A101577.
Sequence in context: A245745 A023331 A187923 * A166958 A112056 A033231
Adjacent sequences: A103009 A103010 A103011 * A103013 A103014 A103015


KEYWORD

nonn


AUTHOR

Robert G. Wilson v, Jan 18 2005


EXTENSIONS

a(8) from Kamada data by Robert Price, Dec 14 2010


STATUS

approved



