[MD-sorular] matematik ve algoritma
Hasan Sozeri
hasan2 at sozeri.com
12 Kas 2008 Çar 10:08:37 EET
Merhaba,
Amatör olarak matematik ve programlama ile ilgileniyorum. Bir web sitesinde asagdaki soru ile karsilastim:
"Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can separated into piles in exactly seven different ways, so p(5)=7.
OOOOO
OOOO O
OOO OO
OOO O O
OO OO O
OO O O O
O O O O O
Find the least value of n for which p(n) is divisible by one million."
Çözüm için algoritmayi olusturmak bi yana, seriyi tanimlayamadim bile. p(6), p(7)... elle olusturarak bazi sayilar çikardim ancak bu sayilar ile bir seri olusturmayi beceremedim.
Bu tür bir serinin nasil tanimlanabilecegi konusunda yardim edebileceklere simdiden tesekkür ediyorum.
Saygilar
Hasan Sözeri
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://lists.math.bilgi.edu.tr/pipermail/md-sorular/attachments/20081112/3be04531/attachment.htm
MD-sorular mesaj listesiyle ilgili
daha fazla bilgi