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”).

A103066
Numbers n such that 7*10^n + 8*R_n - 5 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
1
0, 1, 3, 6, 60, 288, 1314, 1728, 2493, 13893, 13944, 17100, 70227
OFFSET
1,3
COMMENTS
Also numbers n such that (71*10^n-53)/9 is prime.
a(14) > 10^5. - Robert Price, Oct 06 2015
FORMULA
a(n) = A101151(n-1) + 1 for n>1.
EXAMPLE
For n=0, (71*10^n-53)/9 = 2 which is prime.
MATHEMATICA
Do[ If[ PrimeQ[(71*10^n - 53)/9], Print[n]], {n, 0, 10000}]
PROG
(PARI) for(n=0, 10^5, if(isprime((71*10^n-53)/9), print1(n", "))); \\ Altug Alkan, Oct 06 2015
CROSSREFS
Sequence in context: A012473 A058161 A012877 * A145887 A364852 A219809
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Jan 19 2005
EXTENSIONS
a(10)-a(12) from Kamada data by Robert Price, Dec 14 2010
Inserted a(1)=0 and added a(13) by Robert Price, Oct 06 2015
STATUS
approved