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!)
A257040 Numbers k such that 9*R_(k+2) - 2*10^k is prime, where R_k = 11...1 is the repunit (A002275) of length k. 0
0, 90, 1928, 2206, 7244, 11110, 125056, 131394 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also, numbers k such that 98*10^k - 1 is prime.

Terms from Kamada.

a(9) > 300000.

LINKS

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

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

Makoto Kamada, Prime numbers of the form 9799...99.

Index entries for primes involving repunits.

EXAMPLE

For k=0, 9*R_2 - 2*10^0 = 99 - 2 = 97 which is prime.

MATHEMATICA

Select[Range[0, 300000], PrimeQ[98*10^#-1 ] &]

PROG

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

CROSSREFS

Cf. A002275.

Sequence in context: A201062 A240259 A065951 * A008393 A055603 A210090

Adjacent sequences:  A257037 A257038 A257039 * A257041 A257042 A257043

KEYWORD

more,hard,nonn

AUTHOR

Robert Price, Apr 14 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 July 27 23:16 EDT 2021. Contains 346316 sequences. (Running on oeis4.)