[VA] Short & Sweet Math Challenge #25 "San Valentin's Special: Weird Math"
|
02-18-2021, 01:41 PM
Post: #15
|
|||
|
|||
RE: [VA] Short & Sweet Math Challenge #25 "San Valentin's Special: Weird Math...
This should provide all the answers to #6:
20 « { } 1 DUP2 ROT 5 ROLL START NEXTPRIME + LASTARG NIP NEXT DROP SQ DUP SIZE 2 SWAP FOR i 1 OVER SIZE 1 + i - FOR j DUP j DUP i + 1 - SUB ∑LIST ROT + SWAP NEXT NEXT + SORT » EVAL « REVLIST 1 119 START TAIL NEXT SORT » EVAL Perhaps 19 or less would suffice as the argument for the first program, but I have not enough time to check this out right now. Best regards, Gerson. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)