2011-04-19から1日間の記事一覧

Project Euler No.6

Project EulerをMatlab/Octaveで解く6問目。いったい何問あるんだ、これ? The sum of the squares of the first ten natural numbers is,12 + 22 + ... + 102 = 385 The square of the sum of the first ten natural numbers is,(1 + 2 + ... + 10)2 = 552 …