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!)
A099415 Numbers n such that 5*R_n - 4 is prime, where R_n = 11...1 is the repunit (A002275) of length n. 3
12, 13, 609 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Also numbers n such that (5*10^n-41)/9 is prime.

a(4) > 10^5. - Robert Price, Nov 16 2014

LINKS

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

Makoto Kamada, Prime numbers of the form 55...551.

Index entries for primes involving repunits

FORMULA

a(n) = A056684(n) + 1. - Robert Price, Nov 17 2014

MAPLE

A099415:=n->`if`(isprime((5*10^n-41)/9), n, NULL): seq(A099415(n), n=1..10^3); # Wesley Ivan Hurt, Nov 16 2014

MATHEMATICA

Do[ If[ PrimeQ[ 5(10^n - 1)/9 - 4], Print[n]], {n, 15000}]

Select[Range[10000], PrimeQ[(5 10^# - 41) / 9] &] (* Vincenzo Librandi, Nov 17 2014 *)

PROG

(MAGMA) [n: n in [0..500] | IsPrime((5*10^n-41) div 9)]; // Vincenzo Librandi, Nov 17 2014

CROSSREFS

Cf. A002275, A056684.

Sequence in context: A041310 A275959 A066321 * A042293 A061097 A121288

Adjacent sequences:  A099412 A099413 A099414 * A099416 A099417 A099418

KEYWORD

nonn,bref,more

AUTHOR

Robert G. Wilson v, Oct 14 2004

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 March 3 14:58 EST 2021. Contains 341762 sequences. (Running on oeis4.)