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!)
A256933 Numbers k such that R_(k+2) + 7*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length n. 0
1, 2, 11, 62, 157, 170, 251, 500, 2275, 7525, 12230, 13658, 54727, 183227, 212779 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

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

Terms from Kamada.

a(16) > 250000.

LINKS

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

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

Makoto Kamada, Prime numbers of the form 1811...11.

Index entries for primes involving repunits.

EXAMPLE

For k=2, R_4 + 7*10^2 = 1111 + 700 = 1811 which is prime.

MATHEMATICA

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

PROG

(MAGMA) [n: n in [0..300] | IsPrime((163*10^n-1) div 9)]; // Vincenzo Librandi, Apr 14 2015

(PARI) for(n=0, 300, if(isprime((163*10^n-1)/9), print1(n, ", "))) \\ Derek Orr, Apr 14 2015

CROSSREFS

Cf. A002275.

Sequence in context: A126034 A308729 A034726 * A162274 A183160 A020078

Adjacent sequences:  A256930 A256931 A256932 * A256934 A256935 A256936

KEYWORD

more,hard,nonn

AUTHOR

Robert Price, Apr 13 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 February 20 04:31 EST 2020. Contains 332063 sequences. (Running on oeis4.)