login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Equivalently, squared distance between n's location in A163336 array and A163357 array. See example at A166043.

LINKS

A. Karttunen, Table of n, a(n) for n = 0..65535

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

Adjacent sequences:  A165463 A165464 A165465 * A165467 A165468 A165469

KEYWORD

nonn

AUTHOR

Antti Karttunen, Oct 06 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 03:56 EST 2021. Contains 349345 sequences. (Running on oeis4.)