Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This works:

sage: sum_of_k_squares(4, 2016)
(0, 4, 8, 44)