Skip to content

Instantly share code, notes, and snippets.

@Hadyn
Created April 3, 2017 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hadyn/260c5efbbce7fb6d86fb1c79321f62d6 to your computer and use it in GitHub Desktop.
Save Hadyn/260c5efbbce7fb6d86fb1c79321f62d6 to your computer and use it in GitHub Desktop.
2, 1, 1, 5
3, 1, 2, 3
5, 1, 4, 2
7, 6, 1, 142857
11, 2, 5, 09
13, 6, 2, 076923
17, 16, 1, 0588235294117647
19, 18, 1, 052631578947368421
23, 22, 1, 0434782608695652173913
29, 28, 1, 0344827586206896551724137931
31, 15, 2, 032258064516129
37, 3, 12, 027
41, 5, 8, 02439
43, 21, 2, 023255813953488372093
47, 46, 1, 0212765957446808510638297872340425531914893617
53, 13, 4, 0188679245283
59, 58, 1, 0169491525423728813559322033898305084745762711864406779661
61, 60, 1, 016393442622950819672131147540983606557377049180327868852459
67, 33, 2, 014925373134328358208955223880597
71, 35, 2, 01408450704225352112676056338028169
73, 8, 9, 01369863
79, 13, 6, 0126582278481
83, 41, 2, 01204819277108433734939759036144578313253
89, 44, 2, 01123595505617977528089887640449438202247191
97, 96, 1, 010309278350515463917525773195876288659793814432989690721649484536082474226804123711340206185567
101, 4, 25, 0099
103, 34, 3, 0097087378640776699029126213592233
107, 53, 2, 00934579439252336448598130841121495327102803738317757
109, 108, 1, 009174311926605504587155963302752293577981651376146788990825688073394495412844036697247706422018348623853211
113, 112, 1, 0088495575221238938053097345132743362831858407079646017699115044247787610619469026548672566371681415929203539823
127, 42, 3, 007874015748031496062992125984251968503937
131, 130, 1, 0076335877862595419847328244274809160305343511450381679389312977099236641221374045801526717557251908396946564885496183206106870229
137, 8, 17, 00729927
139, 46, 3, 0071942446043165467625899280575539568345323741
149, 148, 1, 0067114093959731543624161073825503355704697986577181208053691275167785234899328859060402684563758389261744966442953020134228187919463087248322147651
151, 75, 2, 006622516556291390728476821192052980132450331125827814569536423841059602649
157, 78, 2, 006369426751592356687898089171974522292993630573248407643312101910828025477707
163, 81, 2, 006134969325153374233128834355828220858895705521472392638036809815950920245398773
167, 166, 1, 0059880239520958083832335329341317365269461077844311377245508982035928143712574850299401197604790419161676646706586826347305389221556886227544910179640718562874251497
173, 43, 4, 0057803468208092485549132947976878612716763
179, 178, 1, 0055865921787709497206703910614525139664804469273743016759776536312849162011173184357541899441340782122905027932960893854748603351955307262569832402234636871508379888268156424581
181, 180, 1, 005524861878453038674033149171270718232044198895027624309392265193370165745856353591160220994475138121546961325966850828729281767955801104972375690607734806629834254143646408839779
191, 95, 2, 00523560209424083769633507853403141361256544502617801047120418848167539267015706806282722513089
193, 192, 1, 005181347150259067357512953367875647668393782383419689119170984455958549222797927461139896373056994818652849740932642487046632124352331606217616580310880829015544041450777202072538860103626943
197, 98, 2, 00507614213197969543147208121827411167512690355329949238578680203045685279187817258883248730964467
199, 99, 2, 005025125628140703517587939698492462311557788944723618090452261306532663316582914572864321608040201
211, 30, 7, 004739336492890995260663507109
223, 222, 1, 004484304932735426008968609865470852017937219730941704035874439461883408071748878923766816143497757847533632286995515695067264573991031390134529147982062780269058295964125560538116591928251121076233183856502242152466367713
227, 113, 2, 00440528634361233480176211453744493392070484581497797356828193832599118942731277533039647577092511013215859030837
229, 228, 1, 004366812227074235807860262008733624454148471615720524017467248908296943231441048034934497816593886462882096069868995633187772925764192139737991266375545851528384279475982532751091703056768558951965065502183406113537117903930131
233, 232, 1, 0042918454935622317596566523605150214592274678111587982832618025751072961373390557939914163090128755364806866952789699570815450643776824034334763948497854077253218884120171673819742489270386266094420600858369098712446351931330472103
239, 7, 34, 0041841
241, 30, 8, 004149377593360995850622406639
251, 50, 5, 00398406374501992031872509960159362549800796812749
257, 256, 1, 0038910505836575875486381322957198443579766536964980544747081712062256809338521400778210116731517509727626459143968871595330739299610894941634241245136186770428015564202334630350194552529182879377431906614785992217898832684824902723735408560311284046692607
263, 262, 1, 0038022813688212927756653992395437262357414448669201520912547528517110266159695817490494296577946768060836501901140684410646387832699619771863117870722433460076045627376425855513307984790874524714828897338403041825095057034220532319391634980988593155893536121673
269, 268, 1, 0037174721189591078066914498141263940520446096654275092936802973977695167286245353159851301115241635687732342007434944237918215613382899628252788104089219330855018587360594795539033457249070631970260223048327137546468401486988847583643122676579925650557620817843866171
271, 5, 54, 00369
277, 69, 4, 003610108303249097472924187725631768953068592057761732851985559566787
281, 28, 10, 0035587188612099644128113879
283, 141, 2, 003533568904593639575971731448763250883392226148409893992932862190812720848056537102473498233215547703180212014134275618374558303886925795053
293, 146, 2, 00341296928327645051194539249146757679180887372013651877133105802047781569965870307167235494880546075085324232081911262798634812286689419795221843
307, 153, 2, 003257328990228013029315960912052117263843648208469055374592833876221498371335504885993485342019543973941368078175895765472312703583061889250814332247557
311, 155, 2, 00321543408360128617363344051446945337620578778135048231511254019292604501607717041800643086816720257234726688102893890675241157556270096463022508038585209
313, 312, 1, 003194888178913738019169329073482428115015974440894568690095846645367412140575079872204472843450479233226837060702875399361022364217252396166134185303514376996805111821086261980830670926517571884984025559105431309904153354632587859424920127795527156549520766773162939297124600638977635782747603833865814696485623
317, 79, 4, 0031545741324921135646687697160883280757097791798107255520504731861198738170347
331, 110, 3, 00302114803625377643504531722054380664652567975830815709969788519637462235649546827794561933534743202416918429
337, 336, 1, 002967359050445103857566765578635014836795252225519287833827893175074183976261127596439169139465875370919881305637982195845697329376854599406528189910979228486646884272997032640949554896142433234421364985163204747774480712166172106824925816023738872403560830860534124629080118694362017804154302670623145400593471810089020771513353115727
347, 173, 2, 00288184438040345821325648414985590778097982708933717579250720461095100864553314121037463976945244956772334293948126801152737752161383285302593659942363112391930835734870317
349, 116, 3, 00286532951289398280802292263610315186246418338108882521489971346704871060171919770773638968481375358166189111747851
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment