login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256830 Numbers k such that 7*R_k - 20 is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
3, 4, 24, 106, 124, 162, 243, 258, 1344, 1386, 2494, 4200, 5859, 8844, 13122, 19908 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Also, numbers k such that (7*10^k - 187)/9 is prime.

Terms from Kamada.

a(17) > 30000.

LINKS

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

Makoto Kamada, Near-repdigit numbers of the form AA...AABA.

Makoto Kamada, Prime numbers of the form 77...7757.

Index entries for primes involving repunits.

EXAMPLE

For k=4, 7*R_4 - 20 = 7777 - 20 = 7757 which is prime.

MATHEMATICA

Select[Range[0, 250000], PrimeQ[(7*10^# - 187)/9] &]

PROG

(MAGMA) [n: n in [2..400] | IsPrime((7*10^n-187) div 9)]; // Vincenzo Librandi, Apr 11 2015

CROSSREFS

Cf. A002275.

Sequence in context: A124632 A048091 A189738 * A065900 A065809 A093600

Adjacent sequences:  A256827 A256828 A256829 * A256831 A256832 A256833

KEYWORD

more,hard,nonn

AUTHOR

Robert Price, Apr 10 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 03:18 EDT 2021. Contains 346442 sequences. (Running on oeis4.)