OFFSET
1,1
EXAMPLE
a(2) = 25 because 25*2 = 50 is the least even number that is the sum of two nonzero squares in exactly 2 ways; 50 = 1^2 + 7^2 = 5^2 + 5^2.
MATHEMATICA
nR[n_] := (SquaresR[2, n] + Plus @@ Pick[{-4, 4}, IntegerQ /@ Sqrt[{n, n/2}]])/8; a[n_] := Block[{k=1}, While[nR[n * k] != n, k++]; k]; Array[a, 10] (* Giovanni Resta, May 27 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, May 26 2016
EXTENSIONS
a(6)-a(29) from Giovanni Resta, May 26 2016
STATUS
approved