[go: up one dir, main page]

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!)
A066865 Number of binary arrangements without adjacent 1's on n X n staggered hexagonal torus bent for odd n. 5
1, 5, 22, 217, 4726, 164258, 14840533, 1834600977, 669877863205, 296979228487760, 434542100979981567, 692625866382651263578, 4053364289624915167879497, 23237986479606982160703729647, 543749373021017146939376423644362, 11213018647250714014261414954480048385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge, 2003, pp. 342-349.
J. Katzenelson and R. P. Kurshan, S/R: A Language for Specifying Protocols and Other Coordinating Processes, pp. 286-292 in Proc. IEEE Conf. Comput. Comm., 1986.
LINKS
Steven R. Finch, Hard Square Entropy Constant [Broken link]
Steven R. Finch, Hard Square Entropy Constant [From the Wayback machine]
EXAMPLE
Neighbors for n=4:
\|/ | \|/ |
-o--o--o--o-
| /|\ | /|\
\|/ | \|/ |
-o--o--o--o-
| /|\ | /|\
\|/ | \|/ |
-o--o--o--o-
| /|\ | /|\
\|/ | \|/ |
-o--o--o--o-
| /|\ | /|\
Neighbors for n=5:
\|/ | \|/ | \|/
o--o--o--o--o
/| /|\ | /|\ |\
\|/ | \|/ | \|/
o--o--o--o--o
/| /|\ | /|\ |\
\|/ | \|/ | \|/
o--o--o--o--o
/| /|\ | /|\ |\
\|/ | \|/ | \|/
o--o--o--o--o
/| /|\ | /|\ |\
\|/ | \|/ | \|/
o--o--o--o--o
/| /|\ | /|\ |\
PROG
(S/R)
proc a
stvar $[N][N]:boolean
init $[][] := false
cyset true
asgn $[][]->{false, true}
kill +[i in 0.. N-1](
+[j in 0.. N-1](
$[i][j]`*(
(
$[i][(j-1) mod N]`
+$[(i-1) mod N][j]`
+(
$[(i-1) mod N][(j-1) mod N]`
? ((j mod 2)=0) |
$[(i+1) mod N][(j-1) mod N]`
)
) ? ((j>0)+((N mod 2)=0)) | (
$[(i-1) mod N][j]`
+$[(i-1) mod N][(j-1) mod N]`
+$[(i+1) mod N][(j-1) mod N]` )))) end
CROSSREFS
Cf. A006506, A027683, A066863, A066864, A066866, A067967 (shifted instead of bent).
Row sums of A067015.
Sequence in context: A208804 A066866 A115657 * A183902 A005632 A183408
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 25 2002
EXTENSIONS
More terms from Sean A. Irvine, Nov 18 2023
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 August 30 13:06 EDT 2024. Contains 375543 sequences. (Running on oeis4.)