I'm going to make a random stab and say Alone in the Dark?
Realms of the haunting.
Bingo, i always remembered it as the above title rather than "Maths journey". Loved those little purple bastards."Logical Journey Of The Zoombinis"
Puzzle Quest?
Puzzle Chronicles?