The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A258205 Number of strictly non-overlapping holeless polyhexes of perimeter 2n with bilateral symmetry, counted up to rotation. 5
0, 0, 1, 0, 1, 1, 3, 1, 8, 5, 20, 11, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
This sequence counts by perimeter length those holeless polyhexes that stay same when they are flipped over and rotated appropriately.
For n >= 1, a(n) gives the total number of terms k in A258005 with binary width = 2n + 1, or equally, with A000523(k) = 2n.
LINKS
FORMULA
Other identities and observations. For all n >= 1:
a(n) = 2*A258206(n) - A258204(n).
a(n) <= A258018(n).
PROG
(Scheme)
(define (A258205 n) (let loop ((k (+ 1 (expt 2 (+ n n)))) (c 0)) (cond ((pow2? k) c) (else (loop (+ 1 k) (+ c (if (isA258005? k) 1 0)))))))
(define (pow2? n) (let loop ((n n) (i 0)) (cond ((zero? n) #f) ((odd? n) (and (= 1 n) i)) (else (loop (/ n 2) (1+ i)))))) ;; Gives non-false only when n is a power of two.
;; Code for isA258005? given in A258005.
CROSSREFS
Sequence in context: A172157 A209136 A206800 * A258018 A188939 A062196
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, May 31 2015
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 May 17 10:20 EDT 2024. Contains 372594 sequences. (Running on oeis4.)