login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A102940
Numbers k such that 10^k + 6*R_k + 1 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
3
0, 1, 2, 3, 5, 9, 11, 14, 32, 54, 55, 60, 153, 200, 461, 569, 840, 847, 1296, 1356, 2007, 2627, 2847, 3110, 6876, 9161, 17765, 33555, 59142, 65773, 280710
OFFSET
1,3
COMMENTS
Also numbers k such that (5*10^k + 1)/3 is prime.
Numbers k such that A126109(k) is prime.
a(32) > 3*10^5. - Robert Price, Nov 15 2014
FORMULA
a(n) = A102024(n-1) + 1.
MAPLE
A102940:=n->`if`(isprime((5*10^n+1)/3), n, NULL): seq(A102940(n), n=0..1000); # Wesley Ivan Hurt, Nov 15 2014
MATHEMATICA
Do[ If[ PrimeQ[(5*10^n + 1)/3], Print[n]], {n, 0, 10000}]
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Dec 16 2004
EXTENSIONS
Edited by N. J. A. Sloane, Mar 16 2007
Addition of a(27) from Kamada data by Robert Price, Dec 08 2010
a(28) from Erik Branger May 01 2013 by Ray Chandler, Aug 16 2013
a(29)-a(31) from Kamada data by Robert Price, Nov 15 2014
STATUS
approved