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.

Showing 1-4 of 4 results.

A234434 Number of shapes of grid-filling curves (on the triangular grid) with turns by 0, +120, or -120 degrees that are generated by Lindenmayer-systems with just one symbol apart from the turns.

Original entry on oeis.org

1, 1, 0, 0, 3, 0, 5, 0, 0, 10, 15, 0, 0, 17, 0, 0, 71, 0, 213, 0, 0, 0, 184, 0, 549, 845, 0, 0, 1850, 0, 0, 0, 0, 6700, 9787, 0, 30475, 0, 0, 0, 52184, 0, 0, 0, 0, 182043, 401377, 0, 0, 604809, 0, 0, 0, 0, 4318067, 0, 0, 0, 7158120, 0
Offset: 3

Views

Author

Joerg Arndt, Dec 26 2013

Keywords

Comments

Shapes are considered modulo reflections and rotations.
The curves considered are not self-intersecting, not edge-contacting (i.e., have double edges), but (necessarily) vertex-contacting (i.e., a point in the grid is visited more than once).
The L-systems are interpreted as follows: 'F' is a unit-stroke in the current direction, '+' is a turn left by 120 degrees, '-' a turn right by 120 degrees, and '0' means "no turn".
The images in the links section use rounded corners to make the curves visually better apparent.
Three copies of each curve (connected by three turns '+' or three turns '-') give two tiles (that tile the triangular grid), but symmetric curves (any symmetry) give just one tile(-shape). The tiles are 3-symmetric, and sometimes (only for n of the form 6*k+1) 6-symmetric. There could in general be more tile-shapes than curve-shapes, for n=7 both cardinalities coincide, see links section. It turns out that for large n there are actually fewer tile-shapes than curve-shapes.
Terms a(n) are nonzero for n>=3 if and only if n is a term of A003136.
The equivalent sequence for the square grid has nonzero terms for n>=5 that are terms of A057653.
If more symbols are allowed for the L-systems, more curves are found, also if strokes of lengths other than one unit are allowed, see the Ventrella reference.
For n = 49 there are two pairs (x, y) such that x^2 + x*y + y^2 = n, (7, 0) and (5, 3), respectively giving 132271 and 269106 shapes (a(49) = 401377 = 132271 + 269106). The next n with two such pairs (x, y) is n = 91, with pairs (6, 5) and (9, 1) - Joerg Arndt, Apr 07 2019

Examples

			The a(3)=1 shape of order 3 is generated by F |--> F+F-F, the curve generated by F |--> F-F+F has the same shape (after reflection). The curve is called the "terdragon", see A080846.
There are 5 L-systems that generate a curve of order 7 with first turn '0' or '+':
F |--> F0F+F0F-F-F+F  #  R7-1
F |--> F0F+F+F-F-F0F  #  R7-2
F |--> F+F0F+F-F0F-F  #  R7-3
F |--> F+F-F-F0F+F0F  #  R7-4 # same shape as R7-1
F |--> F+F-F-F+F+F-F  #  R7-5 # same shape as R7-2
As shown, these give just 3 shapes (and the L-systems with first turn '-' give no new shapes), so a(7)=3.
The curve R7-1 appears on page 107 in the Ventrella reference.
The symmetric curves R7-2 and R7-5 appear in the Arndt reference (there named "R7-dragon" and "second R7-dragon", see A176405 and A176416).
		

Crossrefs

Cf. A265685 (shapes on the square grid), A265686 (tri-hexagonal grid).

Extensions

Terms a(21), a(27), a(28), and a(31) corrected by Joerg Arndt, Jun 20 2018
Terms a(32) - a(47) from Joerg Arndt, Jun 22 2018
Terms a(48) - a(51) from Joerg Arndt, Nov 18 2018
Terms a(52) - a(56) added and a(48) - a(49) corrected, Joerg Arndt, Apr 07 2019
Terms a(57) - a(62) from Joerg Arndt, Apr 10 2019

A265686 Number of shapes of grid-filling curves of order 6*n+1 (on the tri-hexagonal grid) with turns by +-60 and +-120 degrees that are generated by Lindenmayer-systems with just one symbol apart from the turns.

Original entry on oeis.org

1, 3, 7, 10, 63, 157, 456, 1830, 0, 8538, 23114, 61804, 165123, 0, 2339000
Offset: 1

Views

Author

Joerg Arndt, Dec 13 2015

Keywords

Comments

Such curves exist only for n such that 6*n+1 is a term of A003136, these values 6*n+1 are given in A260682.
The first such curve, the only one of order 7, was discovered by Jeffrey Ventrella, see page 105 in the Ventrella reference.

Crossrefs

Cf. A234434 (shapes on the triangular grid), A265685 (shapes on the square grid).

Extensions

a(11) - a(15) from Joerg Arndt, Feb 10 2019

A296147 Number of shapes of grid-filling curves of order A001481(n) (on the square grid) with turns by +-90 degrees that are generated by folding morphisms.

Original entry on oeis.org

1, 1, 1, 2, 2, 6, 3, 20, 14, 44, 32, 69, 212, 287, 796, 438, 1402, 4232, 3202, 2242, 14316, 5080, 11122, 12374, 155305, 152602, 77469
Offset: 1

Views

Author

Joerg Arndt and Julia Handl, Dec 06 2017

Keywords

Comments

a(1) and a(2) correspond to the trivial (empty and single-stroke) curves of orders 0 and 1 respectively.

Crossrefs

Cf. A296148 (same sequence, including zero terms).
Cf. A265685 (simple curves of order 4*n+1).

A296149 Number of shapes of grid-filling curves of order 4*n+1 (on the square grid) with turns by +-90 degrees that are generated by folding morphisms.

Original entry on oeis.org

2, 3, 14, 32, 0, 287, 438, 0, 2242, 5080, 11122, 12374, 77469
Offset: 1

Views

Author

Joerg Arndt, Dec 06 2017

Keywords

Comments

Terms are nonzero if and only if 4*n+1 is a term of A057653.

Crossrefs

Cf. A296148 (number of folding curves of all orders).
Cf. A265685 (simple curves of order 4*n+1).
Showing 1-4 of 4 results.