%I #15 Aug 29 2020 07:14:03
%S 0,0,2,4,-2,-8,-6,0,0,0,2,16,16,12,6,0,0,8,10,24,28,16,0,0,0,0,10,28,
%T 24,16,32,40,48,48,24,20,-2,-24,-40,-36,-40,-44,-64,-60,-56,-48,-42,
%U -56,-42,-36,-20,-16,-8,0,16,8,14,36,34,24,28,28,18,24,16,8,-8,0,-10
%N a(n) = A163531(n)-A163547(n).
%C This sequence gives the difference of squares of distance from the origin to the n-th term, in the Peano curve (A163334) and the Hilbert curve (A163357) on an N x N grid. Because the Hilbert curve is based on powers of 4 and the Peano curve on powers of 9, the graph of this sequence contains dramatic swings. [Edited to Peano vs Hilbert by _Kevin Ryde_, Aug 28 2020]
%H Antti Karttunen, <a href="/A163897/b163897.txt">Table of n, a(n) for n = 0..65535</a>
%Y Cf. A165480 (positions of 0's).
%K sign
%O 0,3
%A _Antti Karttunen_, Sep 19 2009