WORKED DEFAULT
Check the calculation with the default inputs
Applying the doubled two-back recurrence from the zero-one seeds gives J(10) = 341.
- SeedJ(0)=0; J(1)=1
- RecurJ(n-1)+2J(n-2)
- Read termJ(10)=341
INTEGER SEQUENCES / DOUBLED TWO-BACK TERM
Calculate the nth Jacobsthal number from J(0) = 0, J(1) = 1, and J(n-1) plus twice J(n-2).
METHOD / WORKED EXAMPLE
Calculate the nth Jacobsthal number from J(0) = 0, J(1) = 1, and J(n-1) plus twice J(n-2). The result panel keeps the defining recurrence or counting identity visible so the output can be checked independently.
WORKED DEFAULT
Applying the doubled two-back recurrence from the zero-one seeds gives J(10) = 341.
READ THE RESULT
The coefficient belongs on the term two indices back, unlike the Pell recurrence where it multiplies the immediately prior term.
ASSUMPTIONS AND LIMITS
The index is capped at 52 so accepted Jacobsthal terms remain safe integers.
COMMON QUESTIONS
Use J(0) = 0 and J(1) = 1, then calculate J(n) = J(n-1) + 2J(n-2) for every later index. The displayed placement of the factor two is part of the sequence definition. 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.
The coefficient belongs on the term two indices back, unlike the Pell recurrence where it multiplies the immediately prior term. Recalculate from the two seeds and inspect the final pair of source terms. 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 52 so accepted Jacobsthal terms remain safe integers. The bound prevents a later recurrence term from being rounded. 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 J(0) = 0 and J(1) = 1, then calculate J(n) = J(n-1) + 2J(n-2) for every later index.
J(n)=J(n-1)+2J(n-2)