A number theory problem by Maxwell Johnson

What is the remainder when the 13th term is divided by 7?

3, 4, 6, 10, 18, 34...


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

The n n th term of this sequence is such that a n = a n 1 + 2 n 2 a_{n} = a_{n-1} + 2^{n-2} for n 2 n \ge 2 with a 1 = 3 a_{1} = 3 . So the general formula for a n a_{n} , with n 2 n \ge 2 , is

a n = 3 + k = 0 n 2 2 k = 3 + ( 2 n 1 1 ) = 2 n 1 + 2 a_{n} = 3 + \sum_{k=0}^{n-2} 2^{k} = 3 + (2^{n-1} - 1) = 2^{n-1} + 2 .

(In fact this formula holds true for n = 1 n = 1 as well.)

So a 13 = 2 12 + 2 a^{13} = 2^{12} + 2 . Now since 2 3 1 m o d 7 2^{3} \equiv 1 \mod{7} we have that, modulus 7 7 ,

( 2 12 + 2 ) ( ( 2 3 ) 4 + 2 ) ( 1 + 2 ) 3 m o d 7 (2^{12} + 2) \equiv ((2^{3})^{4} + 2) \equiv (1 + 2) \equiv 3 \mod{7} .

So the desired remainder is 3 \boxed{3} .

Anuj Shikarkhane
Jun 29, 2014

The difference between two terms goes on being multiplied by 2. So this way the 13 term is 4098. When you divide it by 7 remainder is 3

Michelle Jobe
Nov 11, 2015

Note the pattern of the remainders in this sequence. 3, 4, 6, 3, 4, 6, .... Thirteenth term would have a remainder of 3.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...