Yep! way better times JB takes a couple of minutes for 50 rounds and maybe 8 minutes for 500 rounds while I surf Internet.

Here is code to find the number eliminated going from 50 rounds to 500, kind of ridiculous but I needed practice. I thought it would be a snap but strings from TLOAD were loaded with junk besides the numbers and spaces.

`'find missing number.bas for SmallBASIC 0.12.2 2016-01-15 [B+=MGA]`

dim a1(120),a2(120)

tload "pl1.txt",pl1,1

tload "pl2.txt",pl2,1

build="":idx1=1:idx2=1

for i=1 to len(pl1)

if instr("1234567890",mid(pl1,i,1)) then

build=build+mid(pl1,i,1)

else

if len(build) then

insert a1,idx1,build

idx1++

build=""

end if

end if

next

build=""

for i=1 to len(pl2)

if instr("1234567890",mid(pl2,i,1)) then

build=build+mid(pl2,i,1)

else

if len(build) then

insert a2,idx2,build

idx2++

build=""

end if

end if

next

for i=1 to (idx1-1)

if a1(i)<>a2(i) then

print a1(i);" is the first number eliminated by increasing rounds from 50 to 500."

exit for

end if

next

pause

Here is code I used to see how many rounds (after 50 and before 500) that one number took to become palindrome.

`'Lychrel test for JB 2016-01-15 [B+=MGA]`

while 1

print:input "Enter a number to test if Lychrel like in 500 rounds <10 quits ";test

if test<10 then end

t=test+reverse(test)

for j=1 to 500

p=reverse(t)

if p=t then exit for else t=t+p

next j

if j>500 then print test;" is Lychrel-like." else print "Palindrome found for ";test;" in ";j;" rounds."

wend

function reverse(num)

snum$=str$(num)

for I=1 to len(snum$)

p$=mid$(snum$,I,1)+p$

next

reverse=val(p$)

end function

Ha, 52 rounds to become palindrome for the one number eliminated by increasing from 50 to 500.