Post Reply 
Puzzle: sequence without multiples of 3
09-14-2019, 08:29 AM (This post was last modified: 09-14-2019 06:46 PM by Albert Chan.)
Post: #9
RE: Puzzle: sequence without multiples of 3
Here is the HP-12C code that produce f(n), f(n) < 10^10

Code:
Enter Enter Enter
2 / INTG 2 × − Enter ×    ; n%2
2 − + 2 ÷ +               ; f(n) = n + (n + n%2 − 2) / 2
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Puzzle: sequence without multiples of 3 - Albert Chan - 09-14-2019 08:29 AM



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