Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Bina-ring

Age 16 to 18
Challenge Level Yellow starYellow starYellow star
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources

Thank you Andrei from Tudor Vianu National College, Bucharest, Romania for this solution.

First I looked at the values of $A$ and $B$ for the first values of $n$ in the expansion of $(1 + \sqrt 2)^n = A + B\sqrt 2$. The results I obtained are written in the following table:
$n$ $A$ $B$
1 1 1
2 3 2
3 7 5
4 17 12
5 41 29

In the cases studied, I observe that $A$ is odd for all $n$, and that $B$ is odd for $n$ odd and even for $n$ even. Now, I shall generalise this result by induction for any $n$:

First I assume that $A(n)$ and $B(n)$ are odd and I prove that $A(n+1)$ is odd and $B(n+1)$ is even. This corresponds to $n$ odd. I shall consider $A(n) = 2p+1$ and $B(n) = 2q+1$.

So, $(1 + \sqrt 2)^n = (2p+1) + (2q+1)\sqrt 2$. $$(1 + \sqrt 2)^{n+1} = (1 + \sqrt 2)^n (1+\sqrt 2) = ((2p+1) + (2q+1)\sqrt 2)(1+ \sqrt 2) = (2p+1 + 2(2q+1)) + \sqrt 2 (2q+1+2p+1).$$ So, $A(n+1) = 2(p+2q+1) + 1$ and $B(n+1) = 2(p+q+1).$ These values that I have obtained for A(n+1) and B(n+1) confirm my prediction.

In a similar manner I assume $A(n)$ odd and $B(n)$ even:
$A(n) = 2p+1$, $B(n) = 2q$. I obtain:
$A(n+1) = 2(p+2q) + 1$ and $B(n+1) = 2(p+q) + 1$.
Now, my proof by induction is complete.
The results are summarized in the following table:
$A$ even $A$ odd
$B$ even - $n$ even
$B$ odd - $n$ odd

Working in a similar manner for $(a + \sqrt p)^n$, I summarize my results in the following table:
$n$ $A$ $B$
$a$ odd, $p$ odd all $n$
even
exception $n=1, A=1$
even
exception $n=1, B=1$
$a$ even, $p$ even all $n$ even
even
exception $n=1, B=1$
$a$ odd, $p$ even
odd
even
odd
odd
odd
even
$a$ even, $p$ odd
odd
even
even
odd
odd
even

You may also like

Ab Surd Ity

Find the value of sqrt(2+sqrt3)-sqrt(2-sqrt3)and then of cuberoot(2+sqrt5)+cuberoot(2-sqrt5).

Absurdity Again

What is the value of the integers a and b where sqrt(8-4sqrt3) = sqrt a - sqrt b?

Em'power'ed

Find the smallest numbers a, b, and c such that: a^2 = 2b^3 = 3c^5 What can you say about other solutions to this problem?

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo