Tribonacci Series
CodeChefOpen on judge ↗
CodePlex - Pramana 2018 Problem description. You may recall that Fibonacci numbers are formed by a sequence starting with 0 and 1 where each succeeding number is the sum of the two preceding numbers; that is, F[n] = F[n‐1] + F[n‐2] with F[0] = 0 and F[1] = 1. Tribonacci numbers are like Fibonacci numbers except that the starting sequence is 0, 1 and 1 and each succeeding number is the sum of the
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start