HF RL Explorer

Task 360

Task 360: development task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. The Gnollish language consists of 3 words, splargh,'' glumph,'' and amr.'' In a sentence, splargh'' cannot come directly before glumph''; all other sentences are grammatically correct (including…

The task

The Gnollish language consists of 3 words, ``splargh,'' ``glumph,'' and ``amr.'' In a sentence, ``splargh'' cannot come directly before ``glumph''; all other sentences are grammatically correct (including sentences with repeated words). How many valid 3-word sentences are there in Gnollish?