2011-04-01から1ヶ月間の記事一覧
月に一度のお楽しみということでTokyo.Rに参加してきた。もう13回にもなるのかーと感慨深い。毎度のことながら主催のyokkunsとその他もろもろの手配をしてくださる幹事の皆さんには感謝。今回の発表内容は以下の通り。 @isseing333 : 線形判別分析 @kos59125…
Problem5 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? 1から20までの全ての数で割…
Problem4 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99.Find the largest palindrome made from the product of two 3-digit numbers. 回文数(左から読んでも右…
iPhoneが位置情報をこっそり記録してましたーって騒ぎが最近ありましたが、その際その位置情報を可視化するコードも同時に公開されていた。 http://petewarden.github.com/iPhoneTracker/ただ見るだけだったら先のコードで十分なのだがRを使っている人間とし…
Problem3 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 素因数分解してそのうち最大のものを求めよ、という問題。 2から10000までの範囲で約数を探して最初に出現したもので割った商の…
Problem 1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000. 1000未満の自然数のうち、3または5の倍数である…