Skip to content

A059204

OEIS Lean4

Number of non-unimodal permutations of n items (i.e., those which do not simply go up for the first part and then down for the rest, but at some point go down then up).

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A05920400021610468849764019236262436282883991577647899955262270167048717828300813076743516162092278985523235568742803046464023737055969281216451004085698562432902008176115712510909421717083914241124000727777605582848258520167388849724456966204484017332394309713921551121004333098596722278440329146112660563555044556810888869450418352160700891136304888344611713860501369782272884176199373970195454334756454426525285981219105863630794312908882228386541779228177255618062581762631308369336935301672180100125163528683317618811886495518194396985032704295232799039604140847618609634930065408103331479663861449296666513375060201308163719933267899012174679994481508008402616321376375309122634504631597958158083368052326452302261746660111176000722410007415376104652820397882081197443358640281739902897081922093056815915283247897734345611269596115893722244186112334525266131638071081700620534407516640524883722241405006117752879898543142606244511569934184976744448604152630633738356373551320685139975072601139534888962658271574788448768043625811014615890319629731906977792119622220865480194561963161495657715064383716167813955584550262215981208894985030542880025489296165171777562791116825862324151116818064296435515361197996919763231875125582233612413915592536072670862289047373375038521486354537022511644672608281864034267560872252163321295376887552831378928765023289344304140932017133780436126081660647688443776415689599490500465786881551118753287382280224243016469303211063259720016984986100093157376806581751709438785716606368564037669752895054408832755722001863147524274883284060025564298013753389399649690343788366813720168400372629504230843697339241380472092742683027581083278564571807941123280800745259008126964033536582759259651008475665169595803210514494367622578256014905180167109985878048634518540456474637249497364979788811684586874110112029810360324052691950487721675568060190543232213498038479622660214518440922240596207206423505613312828785718294749105150746838288623181811429244206997701248119241441281386831185456898357379390197203894063459028767726874325408212946519296238482882568320987112741390144276341183223364380754172606361245952449277695833139247696576512507580213877224798800856812176625227226004528988036003099405939479832678495393153024314699732603879375256531223549507640880122807972582321921631682478188013569907863060481982608315404440064116146708361898137544773690227268628106279599612725141913981572612096126886932185884164103433389335161480802865516174545192198801894375214695007027963145224192824765059208247066672317030678549625218625855134543749292212313438895575652925592629044838454434493907744306400372924024784275264429306438879887453286012686967108111152251185258089676836471110918188685288249859096605464427167635314049524593701628500267962436870085023705161793536248003554243683059960099041856917158104739920135536767237171073801822144571203572204741032358707217112245242814131137246833888127283909227054489352036939364804092325727975414035227609482064717414411978571669969891796072783721689098736458938142546425857555362864628009582789844729384189641294348288850478588567862317521167644239926010288584608120796235886430763388588680378079016516688379282588696576612344583768860868615240703852746727407780917846973289838230149639783849872216892718429767585651773931524470115461512684340891257138125051110076800700282905015819080092370422104067183317012181313517130354786304330788544151938641225953028221253782145683251820934971170611926835411235700971565459241427587034260709572608248091408113953980919464771165940336609262438865701228377958945126558426775728674094437965345340685214191452161885494701666050254987932260861146558230394535379329335672487982961844043495537923117729934445068137042838290432145183092028285869634070784086308284983740379224208358846781574688061991349156420080065207785690136274085676580864113242811782062978314575211587320462287317495794882519900489628256688353252342007662450862130262282725481713531617288946182130782975286851441715398316520698082167795719072138680632278379906935018605333618108407079445450963427063234567156945704626380229481153372318653216558465734236575257710944505822703925548014884266894486728020961709019268541264691257971260207473679858797342315781091054123572447316259587458650497163901796938920562561845342497447315541803853708252938244753643337012841748421382069894049466438132940679933286171609340767439947348991486130071318084791647015083607707416505876483945523969720658651189747118012061057143650340764344627522435752836975156299662933487959194010377086607117672154148330117529633142401345653532669993875791301312880006662862420494871188460323830591312917168641298857229687167531465065134430829666023505922817104114380550276949479442260611594800566343305742064051019127525600261597959334510402864523409240182557803868861659332047011842422709538367273238176552320344125971528487055242938175083876449672016224974245027678946463490131946557162190957377233186640940236821077572983795277172136005186993895952297837380613562123229725112146541157275931740806834232364147935047343944111475446637328188047361854826422573984391147968456455462843802209689493993466844215809868895621840281993191001412448045018284166333621086950893274656376094721650795516090846108121691926245361930983966623649654185491352070783317103437850973939991257078760066272908038269027179017865493127521894414857159644817614973095227336208257378855699612846887669422168637049853930940658765459921313708840596456172344693591419803573098625504378881352001527678402962551665687594951421475868664769066777917417345971536707715599947656852839547504494277511683367667702519607146197251008757761243841405464130725547532432587355307757799171587541435684023958293813771098351951844304612383704134735310748698265427778392142923945020175155211567725070816415747592051623062404362147532295764135351861422812132468071214673152152032895168448453038389962893870731389918428584789004035031041087366156656743080273652852567866010041868035801828723074973744340451998694179276302291092145834154585608656512023853306271676857169578008070062081032997848823905926259970209939472709539774634011737286921225057123429398759470312487176537538542446856328223686422660733060831937143391560161401241699167793487094968920957140154189380115818364865126779544437605483849222280909149998768947603700074898207509473896575430560026047874286783120322802483296192759682482119853328425949563698712343813919172976158104477319333745612481875498805879175589072651261284189679678167646988604157485735662406456049664942689044888324774562618574305724247380969376407895166349423877729470707002322379888297615920772911982360585058860846042941248911103497147132481291209932893326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185179225598994294264962582419865693326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210283038699885885299251648397312