(11C) Tribonacci Sequence
|
12-14-2017, 12:21 PM
(This post was last modified: 12-14-2017 12:33 PM by Gamo.)
Post: #1
|
|||
|
|||
(11C) Tribonacci Sequence
The Tribonacci Sequence is a generalization of the Fibonacci sequence where each term is the sum of the three preceding terms.
The sequence begins 0, 1, 1, 2, 4, 7, 13, 24, 44, 81, 149,. . . . Input the Nth number Example: 7 A result 24 _______10 A result 149 Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Tribonacci Sequence - Gamo - 12-14-2017 12:21 PM
RE: (11C) Tribonacci Sequence - Dieter - 12-14-2017, 09:34 PM
RE: (11C) Tribonacci Sequence - StephenG1CMZ - 12-15-2017, 12:03 AM
RE: (11C) Tribonacci Sequence - Gamo - 12-15-2017, 03:23 AM
|
User(s) browsing this thread: 3 Guest(s)