[seqfan] An interesting sequence

Yifan Xie xieyifan4013 at 163.com
Sat Apr 15 17:07:34 CEST 2023


Hi,
a(n) is the smallest positive integer x such that n can be expressed as the arithmetic mean of x distinct nonzero squares, or 0 if x does not exist. Based on my calculation of a(1) to a(76) by hand, only a(2), a(3), a(6), a(8), a(12) are 0 and no terms are larger than 5.
Please consider this sequence, and if possible, provide a program for me.

Best regards,
Yifan Xie (xieyifan4013 at 163.com)



| |
xieyifan4013 at 163.com
|
|
Email:xieyifan4013 at 163.com
|


More information about the SeqFan mailing list