It is random every run. I have altered Jarek's program so I can not make any guarantee that it is working correctly.
S=737, first 60 primes. dup 179, non-prime 85.
Код:
f[{
{3,173,193,97,43,199,29},
{157,167,31,101,17,113,151},
{19,131,127,11,227,149,73},
{257,47,41,163,139,23,67},
{107,109,89,229,61,137,5},
{181,103,59,53,71,37,233},
{13,7,197,83,179,79,179}
}]
f[{
{3,173,191,73,199,85,13},
{103,151,53,23,7,269,131},
{127,89,193,149,5,113,61},
{101,67,107,79,163,179,41},
{167,11,47,271,29,31,181},
{139,227,37,83,137,43,71},
{97,19,109,59,197,17,239}
}]