Brut force search in NewRPL :
Fact0:
Code:
« → p
« 800 1 FOR 'n'
2000 SETPREC n !
DUP XPON 1 + ALOG
IF DUP2 / p SETPREC UNROT / == THEN
2000 SETPREC n n ! 2 →LIST EXIT
END
-1 STEP
»
»
Nota about NewRPL:
- SETPREC : set the number of significant digits. The default is 32 digits of precision. The maximum is 2000 digits of precision (for comparaison, the stock 50g ROM has a fixed precision of 12 digits displayed, 15 digits internally)
- EXIT : Exit the current loop
Code:
8 Fact0 -> { 13 6227020800 }
10 Fact0 -> { 15 1307674368000 }
12 Fact0 -> { 17 355687428096000 }
14 Fact0 -> { 18 6402373705728000 }
32 Fact0 -> { 34 295232799039604140847618609643520000000 }
64 Fact0 -> { 57 40526919504877216755680601905432322134980384796226602145184481280000000000000 }
128 Fact0 -> { 96 991677934870949689209571401541893801158183648651267795444376054838492222809091499987689476037000748982075094738965754305639874560000000000000000000000
}
256 Fact0 -> { 165 54239106661315887749844950142128418438215720379413698342567269131165730172604765680403290849565015553604650354393935095487058155225915554489271207416431263907819225703574088519286376487014046409943976621391856730220500349076942933314077895545443758280540160000000000000000000000000000000000000000
}
512 Fact0 -> { 286 8706891727962715544397021198387108098613594363848821483857573135793295809904033776560664729691982208526222678439617964542205853528501349477407654318103192821521975674207518165853340117627024513062774476157616015873220009335948079806785940205020086595925703788657142192860674268960308526956233494857761727552220690409274478703527029165025211075996025634689798738573629327418741757099404606283036296662425273776049359170782217763779902901820404689866285801647374451120503197165642888410925400765536216825578127360000000000000000000000000000000000000000000000000000000000000000000000
}
1024 Fact0 -> { 505 39286186840366634460643451132894985115976164677816950096787782615234095498749694266874140124572723925272264103605631433461353773166349016542057566907963786793697892496780667048274739979363837662986781853535035116369636909972884634593152834925804460910490510291622594268958247201450358093544247624997796170336804807425452485517882532734515489150091355990925022044091523930368535184941914015837544764320188541639899063048633607763091664186537692415917249929161355193507598767549880113531712052409564276146252946234229182752724992327930506849204083413119468127534608220959477583691774158634323794314270352760496796509530793277138704284826105308194109145726748447212610680716091846770614350879178328376202348579967212047476596435109118774656595850316136253725940918757644904515606088445813265655871449737037124601474017541148483331297537869946687627144931121011685292261820754558602922462161020261810455669624859923053610553972809272643960989344933169498364713986636201210439555115585003510403763209552021195684154968696999116800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}