WORKED DEFAULT
Check the calculation with the default inputs
Under the displayed 1,1,1 zero-based convention, the recurrence produces P(10) = 12.
- Seed1, 1, 1
- RecurP(n-2)+P(n-3)
- Read termP(10)=12
INTEGER SEQUENCES / TWO-AND-THREE BACK
Calculate the nth Padovan number using P(0) = P(1) = P(2) = 1 and the two-and-three-back recurrence.
METHOD / WORKED EXAMPLE
Calculate the nth Padovan number using P(0) = P(1) = P(2) = 1 and the two-and-three-back recurrence. The result panel keeps the defining recurrence or counting identity visible so the output can be checked independently.
WORKED DEFAULT
Under the displayed 1,1,1 zero-based convention, the recurrence produces P(10) = 12.
READ THE RESULT
Padovan references can shift indexing; the three displayed seeds determine exactly which term this page reports.
ASSUMPTIONS AND LIMITS
The index is capped at 100 to preserve exact integer output and bounded work.
COMMON QUESTIONS
Use P(0) = P(1) = P(2) = 1, then calculate P(n) = P(n-2) + P(n-3) for each index from three onward. Publishing all three starting values prevents an off-by-one convention mismatch. Inputs must be whole numbers inside the displayed domain; the page never rounds a decimal into an accepted index. This ties the answer to one explicit convention instead of silently mixing sequence offsets or combinatorial interpretations.
Padovan references can shift indexing; the three displayed seeds determine exactly which term this page reports. Write the terms in order and add the entries two and three places back. Recompute the displayed recurrence or closed form with the same inputs and compare its previous terms or counting factors. That check supports this bounded result, but it does not transfer the interpretation to a different sequence or counting object.
The index is capped at 100 to preserve exact integer output and bounded work. The cap safely contains this slower-growing recurrence. Combinatorial and recurrence values can grow rapidly even when the inputs look small. The conservative cap prevents browser stalls and avoids presenting an unsafe floating-point integer as exact; larger work needs arbitrary-precision software and independent resource controls.
RELATED TOOLS
Use boundary
Use P(0) = P(1) = P(2) = 1, then calculate P(n) = P(n-2) + P(n-3) for each index from three onward.
P(n)=P(n-2)+P(n-3)