%I #8 Sep 14 2015 23:35:19
%S 0,0,1,8,1,4,18,5,2,9,0,5,2,5,16,2,1,2,9,10,25,0,1,4,9,16,17,36,0,1,4,
%T 9,16,25,36,49,128,1,2,1,10,9,10,25,64,162,113,4,5,18,5,4,5,50,81,128,
%U 113,100,9,10,5,10,1,64,65,100,128,113,100,89,16,17,20,25,64,81,100
%N Array A(i,j) giving the square of distance from (i,j) to the location where A054238(i,j) is situated in array A163357(i,j), listed antidiagonally as A(0,0), A(0,1), A(1,0), A(0,2), A(1,1), A(2,0), ...
%H A. Karttunen, <a href="/A163898/b163898.txt">Table of n, a(n) for n = 0..32895</a>
%e The top left 8 X 8 corner of this array:
%e 0 0 8 18 0 2 0 0
%e 1 1 5 5 1 1 1 1
%e 4 2 2 2 4 4 2 4
%e 9 5 9 9 9 1 5 9
%e 16 10 16 16 10 18 10 16
%e 25 17 25 9 5 5 17 25
%e 36 36 10 4 10 20 36 36
%e 49 25 5 1 25 29 25 49
%Y a(n) = A163900(A054238(n)). Positions of zeros: A165403. See also A163899, A163904.
%K nonn,tabl,look
%O 0,4
%A _Antti Karttunen_, Sep 19 2009