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!)
A360514 Number of 2-color vertex orderings of the labeled path graph on n vertices in which the number 1 is assigned to a vertex in an odd position. 4
1, 1, 4, 9, 56, 185, 1632, 7217, 81664, 451089, 6241280, 41375609, 676506624, 5232134921, 98709925888, 872492313825, 18655203885056, 185503858236065, 4432984678858752, 48978641359097705, 1293646660855398400, 15722400263686662105, 454816628946740707328 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Bouwer and Star give a recurrence.
REFERENCES
Bouwer, I., and Z. Star. "A question of protocol." The American mathematical monthly 95.2 (1988): 118-121. See O(n).
LINKS
PROG
(PARI) A360514seq(n) = {my(a=vector(n)); a[1]=a[2]=1; for(n=3, n, a[n] =(n-1) * if(n%2, 2*a[n-2], a[n-2] + (n-2)*a[n-3]) + 2*sum(k=1, (n-3)\2, binomial(n-1, 2*k) * k*(n-2*k-1)*a[2*k-1]*a[n-2*k-2])); a} \\ Andrew Howroyd, Feb 27 2023
CROSSREFS
Sequence in context: A069507 A219894 A203464 * A358446 A152284 A109717
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 27 2023
EXTENSIONS
Terms a(11) and beyond from Andrew Howroyd, Feb 27 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 April 18 08:14 EDT 2024. Contains 371769 sequences. (Running on oeis4.)