cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A165464 Squared distance between n's location in A163334 array and A163357 array.

This page as a plain text file.
%I A165464 #3 Mar 31 2012 13:21:19
%S A165464 0,0,2,4,2,4,2,0,0,2,2,4,4,4,2,0,0,2,2,4,4,2,0,0,0,0,2,4,4,2,8,10,16,
%T A165464 16,4,2,2,10,16,10,8,8,20,20,20,18,18,32,18,10,4,2,4,10,8,2,2,10,10,4,
%U A165464 4,4,2,10,16,26,20,10,2,4,10,18,32,32,50,52,52,34,40,58,80,80,106,146
%N A165464 Squared distance between n's location in A163334 array and A163357 array.
%C A165464 Equivalently, squared distance between n's location in A163336 array and A163359 array. See example at A166041.
%H A165464 A. Karttunen, <a href="/A165464/b165464.txt">Table of n, a(n) for n = 0..65535</a>
%F A165464 a(n) = A000290(abs(A163529(n)-A059252(n))) + A000290(abs(A163528(n)-A059253(n))).
%o A165464 (MIT Scheme:) (define (A165464 n) (+ (A000290 (abs (- (A163529 n) (A059252 n)))) (A000290 (abs (- (A163528 n) (A059253 n))))))
%Y A165464 Positions of zeros: A165465. See also A165466, A163897, A163900.
%K A165464 nonn
%O A165464 0,3
%A A165464 _Antti Karttunen_, Oct 06 2009