|
|
A159715
|
|
Number of permutations of 2 indistinguishable copies of 1..n arranged in a circle with exactly 1 local maximum.
|
|
8
|
|
|
4, 18, 72, 270, 972, 3402, 11664, 39366, 131220, 433026, 1417176, 4605822, 14880348, 47829690, 153055008, 487862838, 1549681956, 4907326194, 15496819560, 48814981614, 153418513644, 481176247338, 1506290861232, 4707158941350
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (copies*n)*(copies+1)^(n-2), here: copies = 2.
G.f.: 2*x^2*(2 - 3*x) / (1 - 3*x)^2.
a(n) = 2*3^(n-2)*n for n>1.
a(n) = 6*a(n-1) - 9*a(n-2) for n>3. (End)
Sum_{n>=2} 1/a(n) = (9/2)*log(3/2) - 3/2.
Sum_{n>=2} (-1)^n/a(n) = 3/2 - (9/2)*log(4/3). (End)
|
|
MATHEMATICA
|
LinearRecurrence[{6, -9}, {}, 30] (* or *) Table[2*n*3^(n-2), {n, 2, 30}] (* G. C. Greubel, Jun 01 2018 *)
|
|
PROG
|
(PARI) for(n=2, 30, print1(2*n*3^(n-2), ", ")) \\ G. C. Greubel, Jun 01 2018
(Magma) [2*n*3^(n-2): n in [2..30]]; // G. C. Greubel, Jun 01 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|