Post Reply 
[VA] Short & Sweet Math Challenge #24: "2019 Spring Special 5-tier"
04-24-2019, 08:30 PM (This post was last modified: 05-13-2019 06:32 PM by Albert Chan.)
Post: #43
RE: [VA] Short & Sweet Math Challenge #24: "2019 Spring Special 5-tier"
Hi, Valentin Albillo

I did not know people were offended.
I had deleted all posts since your last posting.

Sorry about that ...

I did explain my HP-12C can't handle primes.
I am learning the emulation software, but that take some time ...
Tried FPRIM(n) in emu71, but only gives "Err: Invalid Expr"

This is from your last PM to me:

Valentin Albillo Wrote:Hi, Albert Chan:

Your second attempt at Tier 2 is essentially correct but for a minor detail. You posted (for base 7):

lua> sb_find(7)
7     1 <<<<<<<<<<<<<<<
4801     25
201683     35
16470859     49
115296019     55

but your first result above (7 1) is incorrect because 1 is neither a prime nor a composite, it's a unit. Not being a composite, as asked, makes it an invalid result which perhaps you might want to correct in your post before I post my solutions.

Thanks for your interest and your clear & concise solutions, best regards.
V.
.

Update:
Replaced all my Python code with XCas, so HP Prime user can try out.
The 1 Mathematica post and Lua code got quoted by others, so I felt better leave it alone.
At the time, I was too excited when cin puzzle is solved in my head ...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] Short & Sweet Math Challenge #24: "2019 Spring Special 5-tier" - Albert Chan - 04-24-2019 08:30 PM



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