HP 49G Programming Challenge: OEIS A014261, Integers with exclusively Odd Digits
|
08-30-2017, 10:53 AM
Post: #19
|
|||
|
|||
RE: HP 49G Programming Challenge: OEIS A014261, Integers with exclusively Odd Digits
(08-30-2017 09:06 AM)pier4r Wrote: - the other idea is to get the Nth number, convert it in base 5. And then substitute the digits (having the number seen as string) with a mapping. So for example: I had initially the same idea but failed to implement it, for example the 24th number is 77, 24 in base 5 is 44 so you can easily convert it to 77, however if you look at the next one, the 25th should be 79 but 25 in base 5 is 100 and you start to have issues to convert that to 79… |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)