|
|
A103105
|
|
Numbers n such that 9*10^n + 7*R_n - 6 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
|
|
1
|
|
|
0, 2, 4, 41, 53, 64, 197, 238, 784, 3914, 4436, 12538, 19036
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also numbers n such that (88*10^n-61)/9 is prime.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n=0, (88*10^n-61)/9 = 3 which is prime.
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[(88*10^n - 61)/9], Print[n]], {n, 0, 10000}]
|
|
PROG
|
(PARI) for(n=0, 1e3, if(ispseudoprime((88*10^n-61)/9), print1(n, ", "))) \\ Altug Alkan, Nov 11 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|