Post ArcJUvHcvaTPDMqpge by bbcmicrobot@mastodon.me.uk
(DIR) More posts by bbcmicrobot@mastodon.me.uk
(DIR) Post #ArRBths9Xm9Ezm6Fpw by EdS@mastodon.sdf.org
2025-02-24T08:14:37Z
0 likes, 0 repeats
#bbcmicrobot #bbcbasic #retrocomputing 🚀 1PRINT '"Weekend coding challenge: Squares, cubes and differences"2PRINT '"searching for pairs where difference of squares is a cube and vice versa"3PRINT '" see stardot.org.uk/forums/viewtopic.php?p=449317"'" or oeis.org/A261296"'45FORI%=2TO1290:X%=I%*I%:J%=0:REPEAT:J%=J%+1:C%=J%*J%*J%:V%=X%-C%:IFV%>0W%=SQRV%:IFV%=W%*W%Y%=I%*I%*I%-W%*W%*W%:Z%=SQRY%:IFY%=Z%*Z%PRINTI%,W%6UNTILV%<17NEXT
(DIR) Post #ArcJUvHcvaTPDMqpge by bbcmicrobot@mastodon.me.uk
2025-03-01T16:38:15Z
0 likes, 1 repeats
I ran @EdS's program and got this.Source: https://bbcmic.ro/?t=bBozw #bbcbasic