Math motivated by external "recreational" factors such as forms of entertainment including: games, logic puzzles, magic squares, Rubik's cube, chess problems, mazes, ciphers, cryptarithmetic, calendrical calculation, magic tricks, juggling, fractals (but numerology is off-topic). Also see the [puzzle] and [contest-math] tags.
Recreational mathematics is a fuzzy term for mathematics motivated by reasons mostly external to mainstream mathematical investigations. e.g. entertainment such as games, logic puzzles, magic squares, Rubik's cube, chess problems, mazes, ciphers, cryptarithmetic, calendrical calculation, magic tricks, juggling, fractals (but numerology is off-topic)
Recreational mathematics problems are often easy to understand even for people without an extensive mathematical education, even if the theory they lead to may turn out to be surprisingly deep. Thus, recreational mathematics can serve to attract the curiosity of non-mathematicians and to inspire them to develop their mathematical skills further.
Many typical recreational mathematics problems fall into the fields of discrete mathematics (combinatorics, elementary number theory, etc.), probability theory and geometry. Some important contributors to recreational mathematics are John Horton Conway, Martin Gardner, Richard K. Guy and Sam Loyd