狂风中文网

Chapter 5 Numbers that count(第1页)

天才一秒记住【狂风中文网】地址:https://www.kfzw.net

Chapter5t

banner"

>

&ariseoftheirownagproblemsareimportantaeigated.HereIwilldescribethebis,andthealan,FibonadStirliheyeainnaturals.Butwefirstbeginwithsomeveryfualnumbersequences.

Triangularhmetietricprogressions

&heyearwhebis,Iwilltakeamomehetriangularhenthofwhiotedbytn,isdefihefirstnumbers.Itsvalue,intermsofn,befoundbythefollowingtrick.Wewritetmehenagainasthesamesumbutinthereversethetwoversionsofther:

tn=1+2+3+…+(n-2)+(n-1)+n

tn=n+(n-1)+(n-2)+…+3+2+1;

Forexample,bytakinga=1athesumofthefirstnoddnumbersisn+n(n-1)=n+n2-hsquare.

Ifwereplaultipliastheoperation,wemovefromarithmeticseriestogeometricseries.Inaicseries,eachpairofsuccessivetermsisseparatedbyaohenumberbinournotation.Inotherwords,tomovefromohe,wesimplyaddb.Iricseries,weonbeginwithsomearbitraryhefirsttermandmovefromohebymultiplyingbyafixednumber,calledtheonratio,dehesymbolr.Thatistosay,thetypietricserieshastheforma,ar,ar2,…withthenthtermbeingarn-1.Aswitharithmeticseries,thereisaformulaforthesumofthefirstntermsofageometricseries:

Thequickwayofseeingthatthisformulaisrightisto taketheequivalentformthatweobtaiiplybothsidesofthisequationby(r-1)andmultiplyoutthebratheleft-haain:

(ar+ar2+ar3+…+arn)-(a+ar+ar2+…+arn-1)

andthewholeexpressionteleseaningthatermiscelledbyoherbracket:theoionsarearn-a=a(rn-1),showingthatourformulaforthesumiscorreple,puttinga=1andr=2givesusthesumofpowersof2:

1+2+4+…+2n-1=2n-1.

ThisformulaisjustwhatyouneedioverifyEuclid’sresultfromChapter3oeevenumbersfromMersenneprimes.

Factorials,permutations,andbis

Aswehaveseeriangularnumberarisesfromsummingallthenumbersfrom1uptoher.Ifwereplaultiplithisidea,wegetwhatareknoworialnumbers,whichmadetheirfirstappearaer2.

Faeuptlyingandprobabilityproblemssuchasthecesofbeiatypeofhandinacardgamelikepoker.Forthatreasoheirownnotatioorialisdenotedbyn!=n×(n-1)×…×2×1.Thetriangularnumbersgrowreasonablyquickly,atabouthalftherateofthesquares,butthefactrowmuchfasterandsoonpassintothemillionsandmillions:forexample10!=3,628,800.Theexarkalertsustothisratheralarmih.

&specialclassthatemergesingproblems,oreionsastheyarecalled,isthatofthebis,soheyariseasthemultipliersofpowersofxwhenthebinomialexpression(1+x)nisexpahebi,r)isthenumberofdifferentwayswemaystructasetofsizerfromoneofsizen.Forexample,C(4,2)=6,astherearesixpairs(takenwithardtoorderair)thatagroupoffour:forexample,ifwehavefour,Alex,Barbara,e,andDavid,therearesixwaysthatweselectapairfromthisgroup:AB,AC,AD,BdCD.

Thebisbecaltwodistinctways.First,wedtheargumeweusedtocalculatege,r)r!,whisgivesustheusefulexpression:

Anotablespecialcaseiswher=2,whichds

tothenumberofpairsthatbeseleasetofs.

Thisfactorial-basedformulaforgbisdoesgiveanicealgebraithebisthatallowsustodemoheirmanyspecialproperties.However,theevolutioiesisofteraifwefoasedwaytogeegers,whichisbymeaigle(seeFigure2),alsoknoascal&#le,inhonourofthe17th-turyFreidphilosopherBlaisePascal(1623–62).(TheArithmetiglehasbeendisdre-dischoutPersia,India,andaoverthelast1,000years:forexample,itfeaturedasthefrohePreirrorbyChuShih-1303.)

2.TheArithmetigle

Eaumberinthebodyleisthesumofthetwoaboveit.Thetriangle,whibeuediely,givesthefulllistofbis.Forexample,tofindthenumberofwaysofselegfiveperoupofseven,proceedasfollows.heliriangle,beginning.Similarlyionswithinealefttainstartingwith0.Godowntothelinenumbered7,ahelinenumbered5(rememberingtostartyour0):weseetheansweris21.Youwillryofeaple,21isalsothenumberofwaysofgtwoperoupofseven.Thisisexplainedbythatwhehefivefromseveaneouslygtwofromsevewobeingthepairleftbehind.Thissymmetryargumentofcourseappliestoeveryrow.Thisisalsomaheformulaonpage55,foritreturnsthesameexpressionifwerepla-r,asthetermsrandn-rthatweseeiorsimplysositions.

&hatthepatterherightahardtosee.Eachrowbuildsfromtheo.Weseeeasilythatthefirstthreerowsareple,the2ihethirdrowtellsusthattherearetwowaysofgasinglepersonfromapair.The1thatsitsontopissayingthatthereisoochooseasetofsizezerofromtheemptyset.Infact,thereisonewayofgasetofsizezerofroma,whichiswhyeveryrowbeginswith1.Letusfotheexamplejustgiven–thereare21=15+6waysofselegfivefromagroupofsevehe21quiurallysplitintotwotypes.First,thereare15waystroupoffourfromthefirstsixpeople,towhichwemayaddtheseveoformourfivesome.Ifwedon’tihpersoheobuildasetoffivefromthefirstsix,andtherearesixwaysofdoingthis.Thisillustrateshowoheryisthesumofthetwoaboveit,andthispatternpropagatesthroughle.Insymbolsthisruletakestheform:

,r)=-1,r)+-1,r-1).

&riangleisripatterns.Forexample,summingallthenumbersineachsuccessiverowgivesthedoublingsequence1,2,4,8,16,32,…:thesequenceofpowersof2.Insummibegins1,8,28,56,…forinstance,wearesummingthenumberofwaysofgasetofsize0,1,2,3etasetof8.Intotal,thisgivesusthenumberofwaysofselegasetofanysizefromagroupof8,whichisequalto28as,ingeneral,asetofsizens2hinit.

Thislastfabeseely,forasubsetofasetofsizeifiedbyabinarystrihninthefolloesiderthesetiioninaspecificorder{a1,a2,…,an}say,andthenabinarystrihnspecifiesasubsetbysayianthestringihepresehedingaiiiion.Forexample,ifrings0111and0000staivelyfor{a2,a3,a4},

ayset.Siwochoicesforeatryinthebinarystring,thereare2nsugsinallandtherefore2hiofsizen.

umbers

&hesimplestvisualrepresentationsthatgivesrisetothisypeisasthenumberofwayswedraw‘mountains’usingnupstrokesandndownstrokes(seeFigure3)

3.Withthreeupanddowherearefivemountainpatterns

&ainpatternhasaion,however,asameaningfulbradsothenumberofmeaningfulwaysaofnpairsofparehenthumber.Forexample,(())()and((()))aremeaningfulbragsbut())(()isnot:tobemeaningful,thebracketsmustneverfallbehindthenumberhtbracketsaswelefttht.Thisdstothenaturalthatourmountainsmustneverdiveunderground.ForihefirstandlastmountainpatternsinFigure3dt()(())aively.

&alannumberalsotsthenumberofwaysthatwebreakuparegularpolygonwithrianglesbymeansofdiagonalsthatdonoteahereareotheriionsalongtheselihbis,therearefumberstosmallerumbers,whichmakesthemameomanipulation.

Fibonaumbers

TheFibonaeseriesofengeionamongthegeneralpublic.Thesequensasfollows

1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,…

whereeaumberafterthepairofinitial1sisthesumofthetwothatebefore.Inthis,thereisasimilaritywiththebisiermisthesumoftwopreviousohesequehemethodofformationoftheFibonaumbersissimpler:

本章未完,请点击下一章继续阅读!若浏览器显示没有新章节了,请尝试点击右上角↗️或右下角↘️的菜单,退出阅读模式即可,谢谢!

如遇章节错误,请点击报错(无需登陆)

新书推荐

情难自控总被隐藏BOSS一见钟情哥斯拉之从金刚骷髅岛开始重生之原配娇妻穿书白月光,病娇反派可狼可奶!霸道帝少惹不得港娱的人生模拟器大美人都是我老婆!上门狂婿从四合院开始的旅行极品婆婆的重生之路穿成咸鱼女配,她靠巅峰系统爆红卖火箭的小女孩[星际]神话三国领主倾世女帝:笑拥江山美男我真不是仙二代修道种田平天下重生异能俏娇妻夫人别嫁了,主帅他不孕不育啊网游之全球问道长生万古:苟在天牢做狱卒峨眉祖师苗疆少年又抢走和亲的九郡主啦从亮剑开始的战争系统权臣火葬场实录