|
|
A102972
|
|
Numbers n such that 3*10^n + 5*R_n + 2 is prime, where R_n = 11...1 is the repunit (A002275) of length n.
|
|
1
|
|
|
0, 1, 3, 6, 12, 33, 69, 111, 1965, 5646, 7404, 11103, 20790, 24840, 38199, 90669
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Also numbers n such that (32*10^n+13)/9 is prime.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[(32*10^n+13)/9], Print[n]], {n, 0, 10000}]
Select[Range[0, 10000], PrimeQ[(32 10^# + 13) / 9 ] &] (* Vincenzo Librandi, Apr 08 2015 *)
|
|
PROG
|
(Magma) [n: n in [0..200] | IsPrime((32*10^n+13) div 9)]; // Vincenzo Librandi, Apr 08 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Addition of a(12)-a(14) from Kamada data by Robert Price, Dec 13 2010
a(15) from Erik Branger May 01 2013 by Ray Chandler, Aug 16 2013
|
|
STATUS
|
approved
|
|
|
|