|
|
A143964
|
|
Sequence representing valid nontrivial 1-dimensional Hashi (a.k.a. Bridges or Hashiwokakero) puzzle orientations.
|
|
1
|
|
|
0, 11, 22, 110, 121, 132, 220, 231, 242, 1100, 1210, 1221, 1232, 1320, 1331, 1342, 2200, 2310, 2321, 2332, 2420, 2431, 2442, 11000, 12100, 12210, 12221, 12232, 12320, 12331, 12342, 13200, 13310, 13321, 13332, 13420, 13431, 13442, 22000, 23100, 23210, 23221
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
A k-digit number d_1 d_2 ... d_k is in this sequence if there is a multigraph with k vertices (representing the k digits) with the properties that: (1) there are at most two edges connecting d_i and d_{i+1}, and (2) there are no edges connecting d_i and d_j if i and j are not consecutive integers. In the title, "nontrivial" means that this multigraph must be connected (which eliminates terms like 1111 and 1122).
For k > 1, there are 2^k-2 = A000918(k) terms in this sequence with k digits.
(End)
|
|
LINKS
|
|
|
MAPLE
|
lim:=5: L[0]:={0}: for n from 0 to lim do L[n+1]:={0, op(map(`+`, L[n], 11*10^n)), op(map(`+`, L[n], 22*10^n))}: od: `union`(seq(L[k], k=0..lim)); # Nathaniel Johnston, Sep 30 2011
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Edgar Almeida Ribeiro (edgar.a.ribeiro(AT)gmail.com), Sep 06 2008
|
|
STATUS
|
approved
|
|
|
|