login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A259134 Numbers k such that 9*R_k + 7*10^k - 2 is prime, where R_k = 11...11 is the repunit (A002275) of length k. 0
0, 2, 4, 28, 156, 322, 352, 1212, 1284, 7984, 15192, 84772, 119930, 148860 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also, numbers k such that 8*10^k - 3 is prime.

Terms from Kamada data.

Note that Kamada does not recognize k=0 as 5 is a degenerate case of form ABB..BBA.

a(15) > 2*10^5.

LINKS

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

Makoto Kamada, Near-repdigit numbers of the form ABB...BBA.

Makoto Kamada, Prime numbers of the form 799...997.

Index entries for primes involving repunits.

EXAMPLE

For k=2, 9*R_2 + 7*10^k - 2 = 99 + 700 - 2 = 797 which is prime.

MATHEMATICA

Select[Range[0, 200000], PrimeQ[8*10^#-3] &]

CROSSREFS

Cf. A002275.

Sequence in context: A264667 A356700 A357158 * A117443 A095858 A062792

Adjacent sequences: A259131 A259132 A259133 * A259135 A259136 A259137

KEYWORD

nonn,more,hard

AUTHOR

Robert Price, Jun 18 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 7 14:31 EST 2022. Contains 358656 sequences. (Running on oeis4.)