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

A102994
Numbers n such that 4*10^n + 6*R_n - 5 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
3
1, 2, 7, 9, 14, 24, 45, 49, 73, 74, 232, 338, 397, 504, 1063, 2817, 5305, 16768, 27060
OFFSET
1,2
COMMENTS
Also numbers n such that (14*10^n-17)/3 is prime.
a(20) > 10^5. - Robert Price, May 27 2015
FORMULA
a(n) = A101729(n) + 1.
MATHEMATICA
Do[ If[ PrimeQ[(14*10^n - 17)/3], Print[n]], {n, 0, 10000}]
CROSSREFS
Sequence in context: A074244 A190565 A341631 * A226824 A168132 A211280
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Jan 17 2005
EXTENSIONS
Addition of a(18)-a(19) from Kamada data by Robert Price, Dec 10 2010
STATUS
approved