This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A152510 #11 Mar 14 2022 12:58:22 %S A152510 0,2,1066,328314,87554515,22414176982,5672480870616,1431066048773744, %T A152510 360732335571459920,90911141639422741152,22910020941551289849856, %U A152510 5773350885207751422091264,1454885995214232796339050240,366631366567387199476086758912,92391110171365499708617443239936 %N A152510 1/60 of the number of permutations of 5 indistinguishable copies of 1..n with exactly 3 local maxima. %H A152510 Andrew Howroyd, <a href="/A152510/b152510.txt">Table of n, a(n) for n = 1..200</a> %H A152510 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (382,-38020,1394280,-17690400,92123136,-170698752). %F A152510 From _Colin Barker_, Jul 19 2020: (Start) %F A152510 G.f.: x^2*(2 + 302*x - 2858*x^2 - 120673*x^3 - 71148*x^4) / ((1 - 6*x)^3*(1 - 56*x)^2*(1 - 252*x)). %F A152510 a(n) = 382*a(n-1) - 38020*a(n-2) + 1394280*a(n-3) - 17690400*a(n-4) + 92123136*a(n-5) - 170698752*a(n-6) for n>6. %F A152510 (End) %t A152510 LinearRecurrence[{382,-38020,1394280,-17690400,92123136,-170698752},{0,2,1066,328314,87554515,22414176982},20] (* _Harvey P. Dale_, Mar 14 2022 *) %o A152510 (PARI) \\ PeaksBySig defined in A334774. %o A152510 a(n) = {PeaksBySig(vector(n,i,5), [2])[1]/60} \\ _Andrew Howroyd_, May 12 2020 %o A152510 (PARI) concat(0, Vec(x^2*(2 + 302*x - 2858*x^2 - 120673*x^3 - 71148*x^4) / ((1 - 6*x)^3*(1 - 56*x)^2*(1 - 252*x)) + O(x^20))) \\ _Colin Barker_, Jul 19 2020 %Y A152510 Cf. A152509, A334774. %K A152510 nonn,easy %O A152510 1,2 %A A152510 _R. H. Hardin_, Dec 06 2008 %E A152510 Terms a(7) and beyond from _Andrew Howroyd_, May 12 2020