OFFSET
1,1
LINKS
Michel Lagneau, Michael De Vlieger and Robert G. Wilson v, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_] := Block[{k = 0, p = {}, r = (10^n - 1)/3, s = Range@ 10 - 4}, While[k < n, AppendTo[p, Select[r + 10^k*s, PrimeQ]]; k++]; p = Max@ Flatten@ p]; Array[f, 20]
Table[Max[Select[FromDigits/@Flatten[Permutations/@Table[PadRight[{n}, k, 3], {n, {1, 2, 4, 5, 7, 8}}], 1], IntegerLength[#]==k&&PrimeQ[#]&]], {k, 20}] (* Harvey P. Dale, Apr 11 2020 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
STATUS
approved