(50g) OEIS A014263: Integers with Exclusively Even Digits
|
08-27-2017, 11:55 PM
(This post was last modified: 08-27-2017 11:56 PM by Joe Horn.)
Post: #4
|
|||
|
|||
RE: (50g) OEIS A014263: Integers with Even Digits
(08-27-2017 07:56 PM)Joe Horn Wrote: If "Z5_" means BINT5, then either I made a typo or there's a bug somewhere, because all it does is return 2x for any input x. E.g. Input 153, it returns 306 (contains an odd digit; answer should be 2206). (08-27-2017 10:00 PM)Eric Rechlin Wrote: It works fine for me. I have added a compiled version to my site here: Aha! "Z5_" does NOT mean BINT5. It means ZINT 5, which I could only discover by downloading the copy from Eric's site and disassembling it. The built-in assembler does not know what "Z5_" means, and neither did I. Suggestion: Use HP 50g ASM notation, and include the checksum (which is #FB66h for the above program), when posting System RPL source code. Thanks in advance! By the way, Gerald, I really like the algorithm used here: Convert to base 5, then double that number as a base-10 number. Very cool! <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(50g) OEIS A014263: Integers with Exclusively Even Digits - Gerald H - 08-27-2017, 03:03 PM
RE: (50g) OEIS A014263: Integers with Even Digits - Joe Horn - 08-27-2017, 07:56 PM
RE: (50g) OEIS A014263: Integers with Even Digits - Eric Rechlin - 08-27-2017, 10:00 PM
RE: (50g) OEIS A014263: Integers with Even Digits - Joe Horn - 08-27-2017 11:55 PM
RE: (50g) OEIS A014263: Integers with Exclusively Even Digits - Gerald H - 08-29-2017, 10:24 AM
RE: (50g) OEIS A014263: Integers with Even Digits - Gerald H - 08-28-2017, 05:41 AM
RE: (50g) OEIS A014263: Integers with Even Digits - 3298 - 08-28-2017, 11:46 AM
|
User(s) browsing this thread: 2 Guest(s)