Problem 908
Clock Sequence II
A clock sequence is a periodic sequence of positive integers that can be broken into contiguous segments such that the sum of the
For example, the sequence
is a clock sequence with period
Let
Find
钟摆序列(二)
钟摆序列是一种具有周期性的正整数序列。这种序列可以被分成连续的片段,使得第
例如,序列
是一个周期为
令
求
Gitalking ...