|
|
A103106
|
|
Numbers n such that 9*10^n + 7*R_n - 4 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
|
|
1
|
|
|
0, 6, 15, 36, 45, 447, 1031, 1239, 3492, 6069, 13647, 17238, 56271, 72711, 75381
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also numbers n such that (88*10^n-43)/9 is prime.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[(88*10^n - 43)/9], Print[n]], {n, 0, 10000}]
|
|
PROG
|
(PARI) is(n)=isprime(9*10^n + 7*((10^n-1)/9) - 4) \\ Anders Hellström, Nov 12 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Inserted a(1)=0 and added a(13)-a(15) from Robert Price, Nov 12 2015
|
|
STATUS
|
approved
|
|
|
|