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

Obviously?

Age 14 to 18
Challenge Level Yellow star
Secondary curriculum
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources

Murat from Turkey sent the following solution.

If $g(n)=(1+8^n-3^n)$ is divisible by 6, then $(1+8^n-3^n-6^n)$ is also divisble by 6. It can be verified that

$$g(n)-73g(n-2)+576g(n-4)=504$$

for all positive integers $n> 3$. Since $g(1)$ and $g(3)$ are divisible by 6, it follows that $g(5)$ is also. By induction, it can be shown that for all odd $n$, $g(n)$ is divisible by 6. Since $g(2)$ and $g(4)$ are not divisible by 6, this is not the case for even $n$.

An alternative approach is to use the facts that powers of odd numbers are always odd; powers of even numbers are always even; also the difference of two odd numbers is even. Hence $N=1^n+8^n-3^n-6^n$ is even (odd + even - odd - even).

It remains to decide whether or not $N$ is divisible by 3.

$N \equiv 1 + (-1)^n - 0 - 0$ (mod 3)

This shows that $N \equiv 0$ (mod 3) if $n$ is odd and hence $N$ will be divisible by 6 for all odd values of $n$. However, $N \equiv 2$ (mod 3) if $n$ is even and so $N$ cannot be divisible by 6 for even values of $n$.

You may also like

Purr-fection

What is the smallest perfect square that ends with the four digits 9009?

More Mods

What is the units digit for the number 123^(456) ?

Old Nuts

In turn 4 people throw away three nuts from a pile and hide a quarter of the remainder finally leaving a multiple of 4 nuts. How many nuts were at the start?

  • 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