The edges of a regular pentagon are colored red, blue, or green at random, so that each edge has an equally likely chance of being painted with any given color. What is the probability that in the resulting coloring, no two adjacent edges have the same color?

Jasonkiln Oct 4, 2022