house of cards - MATLAB Cody - MATLAB Central

Problem 42800. house of cards

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
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

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!