ajs / perl6-Math-Sequences

Useful mathematical sequences
Artistic License 2.0
3 stars 9 forks source link

A004018 / square-lattice #71

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

A004018 / Theta series of square lattice (or number of ways of writing n as a sum of 2 squares).

The sequence is not implemented yet.

1 4 4 0 4 8 0 0 4 4 8 0 0 8 0 0 4 8 4 0 8 0 0 0 0 12 8 0 0 8 0 0 4 0 8 0 4 8 0 0 8 8 0 0 0 8 0 0 0 4 12 0 8 8 0 0 0 0 8 0 0 8 0 0 4 16 0 0 8 0 0 0 4 8 8 0 0 0 0 0 8 4 8 0 0 16 0 0 0 8 8 0 0 0 0 0 0 8 4 0 12 8