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
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
12 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!