A To The Power B Plus C

Logic Level 3

Find the smallest positive integer n 2 n \geq 2 such that n n cannot be expressed in the form a b + c a^b + c , where a , b a,b and c c are single digit positive integers.


The answer is 46.

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.

2 solutions

Jaryd Carolin
Jun 29, 2014

It might not be the best solution, but here is how I did it:

Given that c c can be anything from 1 1 to 9 9 I started with the premise that the number I was looking for needed to be either a b a^b itself or in the range where the difference between consecutive squares is greater than 9 .

This first occurs between a = 5 a=5 and a = 6 a=6 , where the difference between the squares is 6 2 5 2 = 11 6^2 - 5^2 = 11 . We can add 10 10 to 5 2 5^2 to get our first possible answer, 35 35 . You can quickly see though that 35 can be obtained by either 3 3 + 8 3^3 + 8 or 2 5 + 3 2^5 + 3 so that rules that one out. 36 can be also obtained a similar way.

So now we move up to the next range, between a = 6 a=6 and a = 7 a=7 . Adding 10 10 to 6 2 6^2 gets us 46 46 , which you can validate pretty quickly as out of range of both 3 3 3^3 and 2 5 2^5 and all other powers available.

what is the step of difference between squares ???? ,, can you explain it

Randa Ashraf - 6 years, 11 months ago

Log in to reply

Sorry, I didn't specify they were consecutive (updated now). So the differences are; 2 2 1 2 = 3 2^2 - 1^2 = 3 ; 3 2 2 2 = 5 3^2 - 2^2 = 5 ; 4 2 3 2 = 7 4^2 - 3^2 = 7 ; 5 2 4 2 = 9 5^2 - 4^2 = 9 ; 6 2 5 2 = 11 6^2 - 5^2 = 11 ; and so on. If the difference is greater than 9 then you cannot use the form a b + c a^b + c to reach that number where a b a^b is the smaller square (but as you see with our first possible answer we come across there may a solution using a different power)

Jaryd Carolin - 6 years, 11 months ago

If b=1, we get numbers............. 2...to..10
If a=2........b=1 we get ...............3...to..11
.....................=2......."......................5...to..13
.....................=3......."......................9...to..17
.....................=4......."....................17...to..25
Next is 32+1=33 but we got only 25. So going for other power
...a=5...........=2......."....................26...to..34
...a=2...........=5......."....................33...to..41
Next 2^6 stars with 65, 3^3 =27 and we get.....28...to...36



So next would be 6^2=36........................""..........37...to...45
There is no way to get 46.

.
. . . . .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...