Problem 60661. The Prime Days of Christmas

On the first day of Christmas my true love sent to me partridges in a pear tree.
On the second day of Christmas my true love sent to me turtle doves, and partridges in a pear tree.
On the third day of Christmas my true love sent to me French hens, turtle doves, and partridges in a pear tree.
On the fourth day of Christmas my true love sent to me calling birds, French hens, turtle doves, and partridges in a pear tree.
On the fifth day of Christmas my true love sent to me golden rings, calling birds, French hens, turtle doves, and partridges in a pear tree.
And so on ...
denotes the i-th prime. Suppose that there are n days of Christmas. How many gifts am I receiving in total?

Solution Stats

No one has attempted to solve this problem yet. Be the first!

Solution Comments

Show comments

Problem Recent Solvers0

No solvers yet, be the first player to solve this problem.

Suggested Problems

More from this Author14

Problem Tags

Community Treasure Hunt

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

Start Hunting!