HexMathv1.0.4
Recursive equation calculator
This recursive equation calculator builds a sequence one term at a time from a starting value and a recursive formula. Type the rule and the first term, or scan the problem. HexMath returns the term you ask for and shows every term on the way, including rules that use the two previous terms.
Loading math input...
What this page covers
- Finding a chosen term from a starting value and a rule that uses the previous term.
- Rules that use the two previous terms, with two starting values.
- Turning an arithmetic recursive rule into a formula in .
- Not covered here: finding a formula from a list of terms alone (see the explicit formula calculator), and sequences defined by words or pictures, which you can still type and try.
How to enter the problem
- Type it or paste it. Write the starting term, then the rule with subscripts, for example a_1 = 2, a_n = 3a_(n-1) - 1, and the term you want.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1: If a₁ = 2 and a_n = 3a_(n-1) - 1, find a₅.
Problem
If and , find .
Answer
VerifiedThe answer is
Explanation
- Find
- Find
- Find
- Find. A recursive rule has to be applied one term at a time; there is no shortcut to without .
Example 2: A sequence has a₁ = 1, a₂ = 3 and a_n = a_(n-1) + 2a_(n-2). Find a₆.
Problem
A sequence has , and . Find .
Answer
VerifiedThe answer is
Explanation
- Read the ruleEach new term is the term just before it plus twice the term two places back.
- Find the third and fourth termsand .
- Find the fifth term
- Find the sixth term
Example 3: Write a formula in n for the sequence a₁ = 7, a_n = a_(n-1) + 5.
Problem
Write a formula in for the sequence , .
Answer
VerifiedThe answer is
Explanation
- Recognise the patternAdding the same number each time makes an arithmetic sequence with first term and common difference .
- Count the stepsTo reach from you add 5 exactly times, so .
- Simplify. Check: gives .
Common mistakes
- Taking one step too many. In the example, applying the rule 5 times instead of 4 gives instead of .
- Using the term number in place of the previous term, as if .
- In a two-term rule, mixing up which earlier term gets the coefficient: in the 2 multiplies the older term.
- Adding the difference times instead of times when writing a formula, which gives instead of .
Checks, assumptions and limits
- Check by hand: list the terms in a small table, one row per , and confirm each row follows from the row above.
- The rule needs a starting value. Without (and for a two-term rule) the sequence is not fixed.
- HexMath can make mistakes. Double check important steps.
Frequently asked questions
It gives each term using the term or terms before it, together with a starting value. To reach a later term you apply the rule step by step.
For rules that add or multiply by a fixed number, yes. Ask for a formula in n and the steps show how it is found.
Yes. The steps list the terms in order, so you can follow each one back to the rule.
Yes. Fibonacci uses the two previous terms, so give two starting values and the rule. The steps build each term from the two before it.
Related tasks
Ready to solve your next math problem?
Create a free account for 3 math questions a day in your browser. No card.
Last updated: · HexMath