OFFSET
0,3
COMMENTS
We consider toothpicks of length 1, parallel to the X and Y axes.
We start at stage 0 with no toothpicks.
At stage 1 we place one toothpick anywhere in the plane.
At stage n > 1, we consider all exposed ends E (i.e. in contact with no other toothpick) and attach perpendicular toothpicks in contact with E by one end provided that they won't touch other existing toothpicks (from stages 1 to n-1).
A toothpick added at stage n may touch other toothpicks added at stage n.
LINKS
EXAMPLE
The configuration at stage 4 can be depicted as follows (stars representing ends and toothpicks being labeled with their stage of appearance):
.
* *
| |
4 4
| |
*---3---* *---3---*
| | | |
4 2 2 4
| | | |
* *---1---* *
| | | |
4 2 2 4
| | | |
*---3---* *---3---*
| |
4 4
| |
* *
.
- so a(4) = 1 + 4 + 4 + 8 = 17.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Feb 21 2022
STATUS
approved