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!)
A163897 a(n) = A163531(n)-A163547(n). 5
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, 24, 16, 32, 40, 48, 48, 24, 20, -2, -24, -40, -36, -40, -44, -64, -60, -56, -48, -42, -56, -42, -36, -20, -16, -8, 0, 16, 8, 14, 36, 34, 24, 28, 28, 18, 24, 16, 8, -8, 0, -10 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

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]

LINKS

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

CROSSREFS

Cf. A165480 (positions of 0's).

Sequence in context: A279354 A278220 A174147 * A278541 A278257 A278533

Adjacent sequences:  A163894 A163895 A163896 * A163898 A163899 A163900

KEYWORD

sign

AUTHOR

Antti Karttunen, Sep 19 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 July 29 17:41 EDT 2021. Contains 346346 sequences. (Running on oeis4.)