|
|
A264937
|
|
Positive numbers k such that (10^(k+2) - 49) / 3 is prime.
|
|
0
|
|
|
1, 3, 25, 37, 51, 105, 157, 351, 499, 1093, 1987, 8019, 23787, 42795
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The numbers that follow the expression in the definition have this form: (3) concatenated k times and prepended to 17.
All terms are odd numbers (if k is even then one can use a^2 - b^2 = (a+b)*(a-b) to get a factorization).
|
|
LINKS
|
|
|
EXAMPLE
|
3 appears because 33317 ('3' concatenated 3 times and prepended to '17') is prime.
|
|
MATHEMATICA
|
Select[Select[Range[2000], OddQ], PrimeQ[(10^(# + 2) - 49)/3] &] (* or *)
ParallelMap[If[OddQ[#] && PrimeQ[(10^(# + 2) - 49)/3], #, Nothing] &, Range[2000]]
|
|
PROG
|
(Magma) [n: n in [1..400]| IsPrime((10^(n+2) - 49) div 3)]; // Vincenzo Librandi, Nov 29 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,hard,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|