Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Prime-decomposition/EchoLisp/prime-decomposition.l
Normal file
10
Task/Prime-decomposition/EchoLisp/prime-decomposition.l
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(prime-factors 1024)
|
||||
→ (2 2 2 2 2 2 2 2 2 2)
|
||||
|
||||
(lib 'bigint)
|
||||
;; 2^59 - 1
|
||||
(prime-factors (1- (expt 2 59)))
|
||||
→ (179951 3203431780337)
|
||||
|
||||
(prime-factors 100000000000000000037)
|
||||
→ (31 821 66590107 59004541)
|
||||
Loading…
Add table
Add a link
Reference in a new issue