login
A103075
Numbers n such that 8*10^n + 2*R_n + 1 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
1
1, 2, 4, 5, 8, 10, 22, 223, 254, 350, 379, 401, 436, 1154, 1246, 2053, 2687, 3725, 4271, 13096, 21427, 30266, 36791, 41759
OFFSET
1,2
COMMENTS
Also numbers n such that (74*10^n+7)/9 is prime.
a(25) > 10^5. - Robert Price, Oct 15 2015
FORMULA
a(n) = A101062(n) + 1.
MATHEMATICA
Do[ If[ PrimeQ[(74*10^n + 7)/9], Print[n]], {n, 0, 10000}]
PROG
(PARI) for(n=0, 50000, if(isprime((74*10^n+7)/9), print1(n", "))) \\ Altug Alkan, Oct 15 2015
CROSSREFS
Sequence in context: A018767 A018332 A018257 * A294940 A322125 A174803
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Jan 19 2005
EXTENSIONS
a(20)-a(21) from Kamada data by Robert Price, Dec 14 2010
a(22)-a(24) from Erik Branger May 01 2013 by Ray Chandler, Aug 16 2013
STATUS
approved