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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A259121 Numbers k such that 7*R_k + 10^k - 6 is prime, where R_k = 11...11 is the repunit (A002275) of length k. 0
1, 6, 48, 102, 192, 366, 1002, 20364, 37446, 56082 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also, numbers k such that (16*10^n-61)/9 is prime.

Terms from Kamada data.

a(11) > 10^5.

LINKS

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

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

Makoto Kamada, Prime numbers of the form 177...771.

Index entries for primes involving repunits.

EXAMPLE

For k=6, 7*R_6 + 10^k - 6 = 777777 + 10000000 - 6 = 1777771 which is prime.

MATHEMATICA

Select[Range[100000], PrimeQ[(16*10^#-61)/9] &]

CROSSREFS

Cf. A002275.

Sequence in context: A000252 A078237 A274131 * A052651 A153796 A250226

Adjacent sequences:  A259118 A259119 A259120 * A259122 A259123 A259124

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 16 17:06 EST 2018. Contains 317274 sequences. (Running on oeis4.)