• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Generalisation of Pattern (1 Viewer)

Sy123

This too shall pass
Joined
Nov 6, 2011
Messages
3,730
Gender
Male
HSC
2013


Is it possible to find the number of white boxes (or black), in the nth triangle, if the triangles keep following the same pattern?
The question originally asked to find the number of white boxes in the 5th triangle, but that was given to year 6. Im just wondering if its possible to generalise this.


Ive gotten as close to:



This is the number of white boxes in the nth triangle if n is even, however if n is odd then it has the same number of white boxes as (n-1) (which is even and you can plug it into this formula)

However I dont know how to generalise the above statement, if its even possible
 

Sindivyn

Member
Joined
Mar 4, 2012
Messages
194
Gender
Male
HSC
2012
I think you would have to incorporate (-1)^n somewhere; how, I'm not sure.
 

Sindivyn

Member
Joined
Mar 4, 2012
Messages
194
Gender
Male
HSC
2012
n/2(n+1) - 1/2((2n-1) - (-1)^n(2n-1))
I think that works from testing
 

Sy123

This too shall pass
Joined
Nov 6, 2011
Messages
3,730
Gender
Male
HSC
2013
This time I think Ive got it (deleted last post)



Works for 4 and 5 too.

I now have to do proof of induction to verify it
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top