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!)
A089407 Number of cycles in range [A014137(n-1)..A014138(n-1)] of permutation A089859/A089863. 3
1, 1, 1, 2, 4, 11, 34, 109, 360, 1219, 4206, 14708, 52024, 185758, 668676, 2423821, 8839632, 32411555, 119410390, 441817020, 1641032536, 6116570954, 22870649308, 85764918130, 322476066224, 1215486652366, 4591838372044, 17383387914792 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
The number of orbits to which the corresponding automorphism(s) partitions the set of A000108(n) binary trees with n internal nodes.
LINKS
FORMULA
a(0) = a(1) = 1, a(n) = (1/4)*(A000108(n) + A089408(n) + (if (n == 3 mod 4) 2*A000108((n-3)/4)))
PROG
(Scheme) (define (A089407 n) (if (< n 2) 1 (* (/ 1 4) (+ (A000108 n) (A089408 n) (if (= 3 (modulo n 4)) (* 2 (A000108 (/ (- n 3) 4))) 0)))))
CROSSREFS
Sequence in context: A287007 A369843 A099215 * A289588 A362638 A344489
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Nov 29 2003
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 April 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)