house of cards - MATLAB Cody - MATLAB Central

Problem 42800. house of cards

Difficulty:Rate

How many cards do one need to build a house of cards with n stages? Short explanation:

/\      2 cards for 1 stage
 /_\    7 cards for 2 stages
/\ /\

....

Solution Stats

81.13% Correct | 18.87% Incorrect
Last Solution submitted on Aug 22, 2024

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers36

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page