Post Reply 
Programming puzzle: Longest list of regular numbers?
04-17-2017, 11:32 AM (This post was last modified: 04-17-2017 12:21 PM by Dave Britten.)
Post: #10
RE: Programming puzzle: Longest list of regular numbers?
Still trying to get the Casio to find terms beyond H(998), but Casio BASIC is terrible and throws a syntax error if you try to do something simple like Seq(List 26[X],X,L,N) to extract a sublist.

It's irritating how many things on a Casio just randomly can't be used in certain contexts. This will probably work fine on the TI, but it's way slower. Smile

EDIT: Got the Casio playing ball. Even with disgusting manual list copying in a For loop, it's still fast.

H(1429)=604,661,760 (37 sec.)

Still wrestling with H(9733). I know the program will slow down as it runs. List garbage collection becomes more frequent as the look-back range widens, but it's coming up on the 8-minute mark, so either I've underestimated how much it slows down, or I've coded some clever infinite loop.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming puzzle: Longest list of regular numbers? - Dave Britten - 04-17-2017 11:32 AM



User(s) browsing this thread: 1 Guest(s)