d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Science, Technology & Nature > Offering Forum Gold For This Fortran Program Done > Yup, Look 350fg
Closed New Topic New Poll
Member
Posts: 13,805
Joined: Jul 23 2008
Gold: 0.87
Mar 10 2009 01:51pm
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

Write a fortran program to find the least value of n for which p(n) is divisible by one million.

offering 350 fg for this fortran program done and briefly explained to me


ty and gluck
Go Back To Science, Technology & Nature Topic List
Closed New Topic New Poll