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!)
A334777 Total number of local maxima in all permutations of 2 indistinguishable copies of 1..n. 3

%I #9 May 20 2020 02:55:20

%S 1,9,195,7140,396900,31185000,3291888600,449513064000,77111922888000,

%T 16235185926960000,4116213602701200000,1237059394731800640000,

%U 434864246413372776000000,176784623645708110032000000,82297894534015170170160000000,43496460979945066988294400000000

%N Total number of local maxima in all permutations of 2 indistinguishable copies of 1..n.

%H Andrew Howroyd, <a href="/A334777/b334777.txt">Table of n, a(n) for n = 1..100</a>

%F a(n) = Sum_{k=1..n} k*A334774(n,k).

%F a(n) = A334776(n) + A000680(n).

%o (PARI) \\ PeaksBySig defined in A334774.

%o a(n)={my(u=PeaksBySig(vector(n,i,2), [0..n-1])); sum(k=1, #u, k*u[k])}

%Y Cf. A000680, A334774, A334775, A334776.

%K nonn

%O 1,2

%A _Andrew Howroyd_, May 12 2020

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 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)