Ed S on Nostr: #bbcmicrobot s=0:b=0 : PRINT ;FNsum(0,1) s=0:b=0 : PRINT ;FNsum(0,2) s=0:b=0 : PRINT ...
#bbcmicrobot
s=0:b=0 : PRINT ;FNsum(0,1)
s=0:b=0 : PRINT ;FNsum(0,2)
s=0:b=0 : PRINT ;SQR(6*FNsum(-1,2))
END
DEF FNsum(a,i)
FOR n = 1 TO 600
a=a+i : b=b+a : s=s+1/b
NEXT
=s
Published at
2024-09-14 14:49:51Event JSON
{
"id": "2281f48f556880f870eba35cec2efa07f27785b7d3e45dbc91a5bd4957ac1ef0",
"pubkey": "9c6db20bcebcdd7dde4f5ba5f4adcf627db47d7af2d2b6ee951c5fbbbbb1a210",
"created_at": 1726325391,
"kind": 1,
"tags": [
[
"t",
"bbcmicrobot"
],
[
"content-warning",
"summing three related series"
],
[
"proxy",
"https://mastodon.sdf.org/users/EdS/statuses/113136460856456468",
"activitypub"
]
],
"content": "#bbcmicrobot \ns=0:b=0 : PRINT ;FNsum(0,1)\ns=0:b=0 : PRINT ;FNsum(0,2)\ns=0:b=0 : PRINT ;SQR(6*FNsum(-1,2))\nEND\nDEF FNsum(a,i)\nFOR n = 1 TO 600\na=a+i : b=b+a : s=s+1/b\nNEXT\n=s\n\nhttps://mastodon.sdf.org/system/media_attachments/files/113/136/438/006/317/599/original/9a0048e3c3409a97.png",
"sig": "ff75a478eb24d2c3687cf8bdf5bc3b93b100fe5461ae5e222ee72b1864ab374cb370e3930c0f4d435b37e7235fe17ad78b0772f7f236e6918ada5c50d55ac605"
}