Number of integer solutions (x, y) to the equation x^2 + 2y^2 = n.

A033715

Number of integer solutions (x, y) to the equation x^2 + 2y^2 = n.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =4a(4) =2a(5) =0a(6) =4a(7) =0a(8) =2a(9) =6a(10) =0a(11) =4a(12) =4a(13) =0a(14) =0a(15) =0a(16) =2a(17) =4a(18) =6a(19) =4a(20) =0a(21) =0a(22) =4a(23) =0a(24) =4a(25) =2a(26) =0a(27) =8a(28) =0a(29) =0

External references