Re: Problem 728
Posted: Tue Oct 06, 2020 9:11 am
I am sorry if I am just misunderstainding, but doesn't the problem statement need some information on distinctness of coins?
Without information, shouldn't F(3, 2) equal to 2 instead of 4? - HHH or TTH.
Since they are arranged in a circle, TTH, HTT, THT should all be identical. To obtain the assumed correct value, I think the coins should be numbered 1 to n and first arranged in this order clockwise in a circle... or something like that, though the expected condition is deduced from test cases.
Without information, shouldn't F(3, 2) equal to 2 instead of 4? - HHH or TTH.
Since they are arranged in a circle, TTH, HTT, THT should all be identical. To obtain the assumed correct value, I think the coins should be numbered 1 to n and first arranged in this order clockwise in a circle... or something like that, though the expected condition is deduced from test cases.