16

You have the first four prime numbers ($2$,$3$,$5$ and $7$) which are gridded and shown as below:

enter image description here

You are trying to get highest total score you can reach with arranging the numbers by rotating (no reflection allowed) them without overlapping them on each other.

The total score is calculated how many lines are joint after arranging and multiplying how many joints you got with the actual prime number and take the sum of all gridded prime number scores at the end. For example, if this question was asked to arrange the first two prime numbers ($2$ and $3$), the answer would be as below:

enter image description here

Since there are 8 lines of the grid are touched with each other, the total score would be $2\times8+3\times8=40$ which is the maximum score you can get with $2$ and $3$.

Note: I am very sorry to let you know there is better answer than 172. That's totally my mistake!

Oray
  • 30,307
  • 6
  • 61
  • 215
  • It is definitely not clear how score is computed. Ah Got It, when you mentioned 8 lines you should have noted that the picture is actually also 8 lines high. XD – CoffeDeveloper Sep 13 '16 at 10:32
  • i'm sorry...did you mean to say "there is no better answer than 172"? – max8126 Jun 05 '17 at 20:08

5 Answers5

12

I have 172, with the correct tiles.

enter image description here

Matsmath
  • 1,929
  • 2
  • 12
  • 30
3

I believe the maximum is

172

Otherwise I think the maximum cannot be found by a greedy approach (trying to maximize the contact point between numbers.

My alternative solution to Matsmath:

enter image description here

CoffeDeveloper
  • 476
  • 1
  • 4
  • 16
2

I got

176

With this formation:

enter image description here

1

I have

$166$

With

primes together
$2\times 6 + 3\times 8 + 5\times 12 + 7\times 10 = 166$

Jonathan Allan
  • 21,150
  • 2
  • 58
  • 109
0

I got

182 146

With this formation:

prime grid

EDIT: Miscalculated the score.

Matt
  • 794
  • 3
  • 12