Painted Fences Math
16 we have 4 colors and 2 posts.
Painted fences math. May 23 2013 explore fence hub s board painted fences followed by 336 people on pinterest. Both my girls and i had a blast creating this. Given a fence with n posts and k colors find out the number of ways of painting the fence such that at most 2 adjacent posts have the same color. It takes sara 2 hours to paint a fence and daniel 4 hours to paint the same fence.
How long will it take to paint the fence if they work together sara rate. Since answer can be large return it modulo 10 9 7. A linear extension of a fence is called an alternating permutation. Rate rate together rate 1 2 1 4 1 x multiply thru by 4x to get.
See more ideas about fence paint fence backyard. A fence may be finite or it may be formed by an infinite alternating sequence extending in both directions. After completing our raised garden bed we decided to do a bit of painting. If you are looking for some painted fence ideas here s one for ya.
André s problem of counting the number of different linear extensions has been studied since the 19th century. N 2 k 4 output. Take your boring backyard fence and turn it into a painted masterpiece. The incidence posets of path graphs form examples of fences.
We re pretty obsessed with the way craftsy painted a simple sky and grass on their fence using blue and green paint but then added shapes detail and design by attaching hooks to the wood and hanging all kinds of fun repurposed trinkets and housewares across the fence against the landscape background letting those be the detail rather than.