login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A103007 Numbers n such that 5*10^n + R_n + 8 is prime, where R_n = 11...1 is the repunit (A002275) of length n. 2
0, 1, 3, 7, 15, 22, 189, 445, 543, 633, 757, 8725, 9003, 37402 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also numbers n such that (46*10^n+71)/9 is prime (including 0).
a(15) > 10^5. - Robert Price, Jul 13 2015
LINKS
FORMULA
a(n) = A101572(n-1) + 1, for n>1.
MAPLE
A103007:=n->`if`(isprime((46*10^n+71)/9), n, NULL): seq(A103007(n), n=0..1000); # Wesley Ivan Hurt, Aug 06 2015
MATHEMATICA
Do[ If[ PrimeQ[(46*10^n + 71)/9], Print[n]], {n, 0, 10000}]
PROG
(PARI) repunit(n)=my(r=""); if(n>0, for(i=1, n, r=concat(r, "1"))); eval(r);
first(m)=my(v=vector(m), t=0); for(i=1, m, while(!isprime((5*10^t + repunit(t) + 8 )), t++); v[i]=t; t++; ); v /* Anders Hellström, Aug 06 2015 */
(Magma) [n: n in [0..300]| IsPrime((46*10^n+71) div 9)]; // Vincenzo Librandi, Aug 05 2015
CROSSREFS
Sequence in context: A015821 A229527 A091711 * A077790 A322971 A165469
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Jan 18 2005
EXTENSIONS
a(14) found by Erik Branger on May 01 2013, submitted by Ray Chandler, Aug 16 2013
a(1) = 0 prepended by Robert Price, Jul 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 23 06:59 EDT 2024. Contains 374544 sequences. (Running on oeis4.)