make a 5 by 5 tile uisng 5 different colors. None can be in the same row nor be diagional.

1 answer

let g=green; b=blue; r=red; y=yellow; o=orange

This is one example

g,b,r,y,o
r,y,o,g,b
o,g,b,r,y
b,r,y,o,g
y,o,g,b,r

Notice that the order is the same in each line, shifted by 2