Gerard Westendorp on Nostr: Stephen 🐈 🇨🇦 Well, what I did was not so fancy. First I did all {a,b,c,d} ...
Stephen 🐈 🇨🇦 (npub150e…rrqv) Well, what I did was not so fancy. First I did all {a,b,c,d} from 1 to N. But then as N gets large, this gets out out of hand. So I used a slightly better method by assuming a>=b>=c>=d, and also a*b*c*d <Max, where Max is about 15000. Then it takes a could of minutes in VBA.
Published at
2024-06-27 06:18:43Event JSON
{
"id": "819b05712ae7eb3439ae3c888cf126d335d32f3c3522e8741c7a8d6ba592f92e",
"pubkey": "ec4c0474085a36db6717feba02f56f9b360dba572291fe9bb3fa3ae819f98b04",
"created_at": 1719469123,
"kind": 1,
"tags": [
[
"p",
"a3f3eb91b810aeecbbe80f5be42cd7f783808218c08a6f9cc774f3187307effd",
"wss://relay.mostr.pub"
],
[
"e",
"3c390380838fd3093cb22ed2265c74ac72139974928b5a860f312c412c2e7265",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mathstodon.xyz/users/GerardWestendorp/statuses/112687128464024925",
"activitypub"
]
],
"content": "nostr:npub150e7hydczzhwewlgpad7gtxh77pcpqsccz9xl8x8wne3suc8al7ssmrrqv Well, what I did was not so fancy. First I did all {a,b,c,d} from 1 to N. But then as N gets large, this gets out out of hand. So I used a slightly better method by assuming a\u003e=b\u003e=c\u003e=d, and also a*b*c*d \u003cMax, where Max is about 15000. Then it takes a could of minutes in VBA.",
"sig": "8aae9c947f20472fb31193f1e2e9e2f48f4ef120e17e2f3b3e1654895b0fd41043828609ebb398ebbee5e0d7ccfca118bb832a7bc06fe3eb9d5a1543eda809bf"
}