Coloured Edges

The whole set of tiles is used to make a square. This has a green and blue border. There are no green or blue tiles anywhere in the square except on this border. How many tiles are there in the set?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



There is a set of tiles which are all different and coloured just on the edges. Each edge on a tile is a different colour. For example:
Image
Coloured Edges
Altogether $10$ different colours are used for the edges, and there is an equal number of edges of each colour used throughout the set.
The whole set of tiles is used to make a square. This has a green and blue border. There are no green or blue tiles anywhere in the square except on this border.
Image
Coloured Edges
How many tiles are there in the set?