Introducing a new operation

Algebra Level 1

Define the star operation as a b = a + a b + b . a\star b=a+ab+b.

Then define the star power operation as a n = a a a a a w r i t t e n n t i m e s , a^{\star n}=\underbrace{a\star a\star a\star\cdots\star a}_{a\, \mathrm{written} \, n \, \mathrm{times}}, with a 1 = a . a^{\star 1}=a.

What is 7 7 ? 7^{\star7}?

7 8 1 7^8-1 8 7 1 8^7-1 8 8 7 7 8^8-7^7 8 8 1 8^8-1

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.

6 solutions

Complete the product: a + a b + b = ( a + 1 ) ( b + 1 ) 1 a + ab + b = (a + 1)(b + 1) - 1 . This suggests that ( a b ) + 1 = ( a + 1 ) ( b + 1 ) , (a\star b) + 1 = (a + 1)(b+1), so that ( a b c z ) + 1 = ( a + 1 ) ( b + 1 ) ( c + 1 ) ( z + 1 ) , (a\star b \star c \star \cdots \star z) + 1 = (a+1)(b+1)(c+1)\cdots (z+1), and a n + 1 = ( a + 1 ) n . a^{\star n} + 1 = (a+1)^n. Thus 7 7 = ( 7 + 1 ) 7 1 = 8 7 1 . 7^{\star 7} = (7 + 1)^7 - 1 = \boxed{8^7 - 1}.

to go from step 1 to step 2 you leap an assumpion that "star" is the same as "multiplacation"!! For here its treu, but you didn't proofed it!

Bammens Raf - 3 years, 3 months ago

Log in to reply

The step I left out is showing that the pattern continues with repeated multiplication:

( a b c ) + 1 : = ( ( a b ) c ) + 1 = ( ( a b ) + 1 ) ( c + 1 ) = ( a + 1 ) ( b + 1 ) ( c + 1 ) , (a \star b \star c) + 1 := ((a \star b) \star c) + 1 = ((a \star b) + 1)(c + 1) = (a + 1)(b+1)(c+1),

and so on.

Arjen Vreugdenhil - 3 years, 3 months ago

Bammens is correct. You assume that this operation works same as multiplication.

Sean Chen - 3 years, 2 months ago

Log in to reply

The observation I made is essentially that f : ( R { 1 } , ) ( R { 0 } , ) f : x x + 1 f:\ (\mathbb R-\{-1\},\star) \to (\mathbb R-\{0\},\cdot)\ \ \ \ \ \ \ \ \ \ \ \ f:\ x \mapsto x+1 is a group isomorhpism.

The proof is that ( a b ) + 1 = ( a + 1 ) ( b + 1 ) (a\star b)+1 = (a + 1)\cdot(b+1) .

A consequence is that ( a b z ) + 1 = ( a + 1 ) ( b + 1 ) ( z + 1 ) (a\star b\star \cdots \star z)+1 = (a+1)\cdot (b+1) \cdot \cdots \cdot (z+1) .

Arjen Vreugdenhil - 3 years, 2 months ago
Chew-Seong Cheong
Feb 25, 2018

From the first few n n , we find that a n = ( a + 1 ) n 1 a^{\star n} = (a+1)^n - 1 . Let us prove by induction that the claim is true for all n 1 n \ge 1 .

Proof: For n = 1 n=1 , a 1 = ( a + 1 ) 1 1 = a a^{\star 1} = (a+1)^1 - 1 = a as defined. Therefore, the claim is true for n = 1 n=1 . Now assuming that the claim is true for n n , then we have:

a ( n + 1 ) = a a n = a + a ( a n ) + a n = a + a ( ( a + 1 ) n 1 ) + ( a + 1 ) n 1 = a + a ( a + 1 ) n a + ( a + 1 ) n 1 = ( a + 1 ) n + 1 1 \begin{aligned} a^{\star (n+1)} & = a \star a^{\star n} \\ & = a + a(a^{\star n}) + a^{\star n} \\ & = a + a((a+1)^n - 1) + (a+1)^n - 1 \\ & = a + a(a+1)^n - a + (a+1)^n - 1 \\ & = (a+1)^{n+1}-1 \end{aligned} .

Therefore, the claim is also true for n + 1 n+1 and hence for all n 1 n \ge 1 . Then we have 7 7 = ( 7 + 1 ) 7 1 = 2097151 7^{\star 7} = (7+1)^7 - 1 = \boxed{2097151} .

Actually a way cleaner version of my solution, chapeau! :D

Steve Gualtieri - 3 years, 3 months ago

Log in to reply

Glad that you like it.

Chew-Seong Cheong - 3 years, 3 months ago

don't calculate it true, stop at 8(to the power)7 -1. Nice work

Bammens Raf - 3 years, 3 months ago

Log in to reply

The problem required the whole solution. It has been changed to a multiple choice some days ago

Steve Gualtieri - 3 years, 3 months ago

this is clean

Sean Chen - 3 years, 2 months ago
Steve Gualtieri
Feb 22, 2018

We can see, with some counting, that the following formula holds (proof at the end):

a n = k = 1 n ( n k ) a k \displaystyle{a^{\star n}=\sum_{k=1}^{n} {{n}\choose{k}}a^k}

In particular, if a = 1 a=1 , we have

1 n = k = 1 n ( n k ) = 2 n 1 \displaystyle{1^{\star n}=\sum_{k=1}^{n} {{n}\choose{k}}=2^n-1}

And since 7 = 2 3 1 = 1 3 7=2^3-1=1^{\star 3} , we have:

7 7 = ( 1 3 ) 7 = 1 21 = 2 21 1 = 2097151 \displaystyle{7^{\star 7}=(1^{\star 3})^{\star 7}=1^{\star 21}=2^{21}-1=\boxed{2097151}}

Note: Proof of the fact that ( 1 3 ) 7 = 1 21 \left(1^{\star 3}\right)^{\star 7}=1^{\star 21} is left to the kind reader. Does this power property apply to every base or just to 1?


Now, as to why the star power formula holds. We are just going to prove this by induction. It is in fact obvious that the formula holds for n = 2 n=2 , as a 2 = a a = a 2 + 2 a = ( 2 2 ) a 2 + ( 2 1 ) a \displaystyle{a^{\star2}=a\star a=a^2+2a= {{2}\choose{2}}a^2+{{2}\choose{1}}a}

Let's suppose that it holds for n n and let's prove it for n + 1 n+1 .

a ( n + 1 ) = a n a = ( k = 1 n ( n k ) a k ) a = k = 1 n ( n k ) a k + a + a k = 1 n ( n k ) a k \displaystyle{a^{\star (n+1)}=a^{\star n}\star a=\left(\sum_{k=1}^{n} {{n}\choose{k}}a^k\right)\star a=\sum_{k=1}^{n} {{n}\choose{k}}a^k+a+a\sum_{k=1}^{n} {{n}\choose{k}}a^k}

= k = 1 n ( n k ) a k + k = 1 n ( n k ) a k + 1 + a \displaystyle{=\sum_{k=1}^{n} {{n}\choose{k}}a^k+\sum_{k=1}^{n} {{n}\choose{k}}a^{k+1}+a}

= k = 2 n ( n k ) a k + ( n 1 ) a + ( n n ) a n + 1 + k = 2 n ( n k ) a k + a \displaystyle{=\sum_{k=2}^{n} {{n}\choose{k}}a^k+{{n}\choose{1}}a+{{n}\choose{n}}a^{n+1}+\sum_{k=2}^{n} {{n}\choose{k}}a^k+a}

= k = 2 n [ ( n k ) + ( n k 1 ) ] a k + ( n + 1 n + 1 ) a n + 1 + ( n 1 ) a + a \displaystyle{=\sum_{k=2}^{n} \left[{{n}\choose{k}}+{{n}\choose{k-1}}\right]a^k+{{n+1}\choose{n+1}}a^{n+1}+{{n}\choose{1}}a+a}

= ( n + 1 n + 1 ) a n + 1 + k = 2 n ( n + 1 k ) a k + ( n + 1 1 ) a = k = 1 n + 1 ( n + 1 k ) a k \displaystyle{={{n+1}\choose{n+1}}a^{n+1}+\sum_{k=2}^{n} {{n+1}\choose{k}}a^k+{{n+1}\choose{1}}a=\sum_{k=1}^{n+1} {{n+1}\choose{k}}a^k}

To proceed with these equalities we used some basic properties of the binomial coefficient and manipulation of the sums.

Andrew Lamoureux
Mar 5, 2018

Instead of 7, use variable x, then:

  • star(x,x) = x 2 + 2 x x^2 + 2x
  • star(x,star(x,x)) = x 3 + 3 x 2 + 3 x x^3 + 3x^2 + 3x
  • star(x,star(x,star(x,x))) = x 4 + 4 x 3 + 6 x 2 + 4 x x^4 + 4x^3 + 6x^2 + 4x
  • ...

These polynomials and the coefficients 1 , 4 , 6 , 4 1, 4, 6, 4 look familiar! It's Pascal's triangle, whose rows contain the coefficients for binomial expansions ( a + b ) n (a+b)^n . To make it fit the triangle's pattern, we choose a = x , b = 1 , n = 7 a=x, b=1, n=7 to arrive at ( x + 1 ) 7 1 (x + 1)^7 - 1 .

With x = 7 x=7 , the answer is 8 7 1 8^7 - 1 .

Pascal Triangle, you meant.

Divas Subedi - 3 years, 3 months ago

Log in to reply

Yes :) Editing, thanks.

Andrew Lamoureux - 3 years, 3 months ago
Nathan Speer
Mar 9, 2018

Matlab solution:

Dylan Karzen
Mar 7, 2018

While this works, programming solutions are not always a good idea as they don't give insight on the properties of the operation.

What does it matter? One may ask. Well, for more complex problems, efficiency of a program is a big issue. By applying the direct definition of star power, your program makes 3 n 3n operations to calculate a n a^{\star n} , whereas you only need n + 2 n+2 because of the formula a n = ( a + 1 ) n 1 a^{\star n}=(a+1)^n-1 .

Steve Gualtieri - 3 years, 3 months ago

(Sorry not a solution) Everyone here is so smart. I feel like a total hyena for getting out my calculator and punching it out.

Muyiwa Francis - 3 years, 3 months ago

Log in to reply

Originally, the problem had an answer box, which allowed you to actually brute force the problem. This has been corrected by the mods with the multiple choice. I don't always like the idea of it, but in this case it doesn't allow brute-forcing anymore as your calculator/PC will give 2097151 2097151 as a result, but won't translate it as 8 7 1 8^7-1 .

Steve Gualtieri - 3 years, 3 months ago

Or with recursion..

def star(a, b):
    return a + a*b + b


def starpower(a, n):
    if n == 1:
        return a
    else:
        return star(a, starpower(a, n - 1))


print(starpower(7, 7))

Brian Stamper - 3 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...