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
1, 9, 195, 7140, 396900, 31185000, 3291888600, 449513064000, 77111922888000, 16235185926960000, 4116213602701200000, 1237059394731800640000, 434864246413372776000000, 176784623645708110032000000, 82297894534015170170160000000, 43496460979945066988294400000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = Sum_{k=1..n} k*A334774(n,k).
a(n) = A334776(n) + A000680(n).
PROG
(PARI) \\ PeaksBySig defined in A334774.
a(n)={my(u=PeaksBySig(vector(n, i, 2), [0..n-1])); sum(k=1, #u, k*u[k])}
CROSSREFS
Sequence in context: A196959 A266485 A279132 * A081020 A358740 A017426
KEYWORD
nonn
AUTHOR
Andrew Howroyd, May 12 2020
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 March 28 14:33 EDT 2024. Contains 371254 sequences. (Running on oeis4.)