If the three numbers of hours, minutes and seconds at a moment constitute an increasing arithmetic sequence, then this moment is called a lucky moment (using a 24-hour system), for example, 00:02:04 and 17:20:23 are both lucky Moments, that and how many lucky moments in a day.
如果一个时刻的时、分、秒3个数构成递增的等差数列，则称这个时刻为幸运时刻(采用24小时制)，例如00点02分04秒和17点20分23秒都是幸运时刻，那在一天中与多少个幸运时刻．
<gadget id="calculator">282 * 2</gadget>
<output>564</output>

<result>564</result>