login
A165466
Squared distance between n's location in A163334 array and A163359 array.
4
0, 2, 2, 2, 2, 10, 10, 2, 0, 0, 2, 10, 20, 10, 10, 18, 32, 32, 50, 74, 100, 100, 72, 50, 32, 50, 50, 34, 20, 20, 16, 16, 16, 10, 4, 4, 2, 4, 8, 8, 8, 10, 20, 18, 20, 20, 26, 50, 50, 40, 20, 20, 20, 20, 32, 32, 34, 40, 58, 74, 100, 74, 74, 80, 80, 80, 52, 52, 50, 34, 34, 32
OFFSET
0,2
COMMENTS
Equivalently, squared distance between n's location in A163336 array and A163357 array. See example at A166043.
LINKS
FORMULA
a(n) = A000290(abs(A163529(n)-A059253(n))) + A000290(abs(A163528(n)-A059252(n))).
PROG
(MIT Scheme:) (define (A165466 n) (+ (A000290 (abs (- (A163529 n) (A059253 n)))) (A000290 (abs (- (A163528 n) (A059252 n))))))
CROSSREFS
Positions of zeros: A165467. See also A166043, A165464, A163897, A163900.
Sequence in context: A156538 A249768 A217503 * A175392 A289910 A112727
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 06 2009
STATUS
approved