|
|
A103057
|
|
Numbers n such that 7*10^n + 4*R_n - 3 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
|
|
1
|
|
|
1, 4, 6, 7, 10, 16, 22, 31, 1315, 2064, 6150, 8707, 12252, 18610, 21630, 41712, 44808, 45421
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also numbers n such that (67*10^n-31)/9 is prime.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[(67*10^n - 31)/9], Print[n]], {n, 0, 10000}]
Select[Range[10000], PrimeQ[(67 10^# - 31) / 9] &] (* Vincenzo Librandi, Sep 29 2015 *)
|
|
PROG
|
(Magma) [n: n in [0..500] | IsPrime((67*10^n-31) div 9)]; // Vincenzo Librandi, Sep 29 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(16)-a(18) from Erik Branger May 01 2013 by Ray Chandler, Aug 16 2013
|
|
STATUS
|
approved
|
|
|
|