login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A339739 a(n) gives the number of squares in the n-th iteration of the Harter-Heighway dragon. 0
0, 0, 0, 1, 4, 11, 30, 78, 205, 546, 1455, 4062, 11192, 31889, 88487, 254594 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
a(n) >= A003230(n-4) for n >= 4, and a(n) > A003230(n-4) for n >= 7.
LINKS
Code Golf Stack Exchange user Domenico Modica, Eye test - How many squares are in this picture?
Wikipedia, Dragon Curve
EXAMPLE
For n = 5, the fifth iteration of the Harter-Heighway dragon has a(5) = 4 squares, as illustrated below. All of the squares are 1 X 1.
*---*
| |
*---* *
|
*---*
|
*---*---* *---* *---*
| | | | | | |
*---* *---*---*---* *---*
| | |
*---*---* *---*
| |
*---*
For n = 7, the seventh iteration of the Harter-Heighway dragon has a(7) = 30 squares, as illustrated below. It contains A003230(7) = 28 1 X 1 squares and two 2 X 2 squares.
_ _
|_|_| |_
_ _| _|
|_|_|_
|_|_|
|_ _ _ _
_ _|_|_| _|_| _|_|
|_|_|_|_|_ _|_|_ _|_|_ _
|_| |_| |_|_|_|_|_| |_| |_|_|
|_|_|_|_ |_
_ _|_| |_| _|
|_|_|_|_ |_|
|_| |_|
CROSSREFS
A003230 gives the number of 1 X 1 squares.
Sequence in context: A102281 A269083 A026583 * A291238 A110034 A340824
KEYWORD
nonn,more
AUTHOR
Peter Kagey, Jan 05 2021
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)