0%

Problem 78


Problem 78


Coin Partitions

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.

OOOOOOOOO OOOO OOOOO O OOO OO OOO O O OO O O O O

Find the least value of n for which p(n) is divisible by one million.


硬币分拆

p(n)是将n枚硬币分拆成堆的不同方式数。例如,5枚硬币分拆成堆有7种的不同方式,因此p(5)=7

OOOOOOOOO OOOO OOOOO O OOO OO OOO O O OO O O O O

求最小的使p(n)能被一百万整除的n


Gitalking ...