(38G) OEIS A262389: Last Digit Composite
|
09-13-2017, 02:06 PM
Post: #2
|
|||
|
|||
RE: (38G) OEIS A262389: Last Digit Composite
The 3 recursions can be telescoped into one, producing a faster method of generating the series.
Code: RECURSE(U,IFTE(N>5,U1(N-1)+U1(N-4)-U1(N-5),IFTE(N==5,14,IFTE(N==4,9,8))),4,6)►U1(N): Although I find the first version more pretty. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(38G) OEIS A262389: Last Digit Composite - Gerald H - 09-08-2017, 05:45 AM
RE: (38G) OEIS A262389: Last Digit Composite - Gerald H - 09-13-2017 02:06 PM
RE: (38G) OEIS A262389: Last Digit Composite - Didier Lachieze - 09-13-2017, 04:06 PM
RE: (38G) OEIS A262389: Last Digit Composite - Gerald H - 09-13-2017, 06:09 PM
RE: (38G) OEIS A262389: Last Digit Composite - Gerald H - 09-14-2017, 06:25 AM
RE: (38G) OEIS A262389: Last Digit Composite - Gerald H - 09-14-2017, 06:45 AM
|
User(s) browsing this thread: 3 Guest(s)