Expression need for display problem

Arithmetic and Geometric progressions.

Expression need for display problem

Postby fippy » Tue Oct 27, 2020 4:04 pm

I’m a web designer looking for a little help with a display problem. I’m trying to create a 4 column display, where the first row is:

blue green blue green

and the second row is reversed

green blue green blue

the third rows then mirrors the first and the pattern continues...

I’m looking for an expression/equation/rule so that I can color each box...

I hope I’m posting in the correct place (please advise if not)
fippy
 
Posts: 1
Joined: Tue Oct 27, 2020 4:03 pm
Reputation: 0

Re: Expression need for display problem

Postby Guest » Tue Oct 27, 2020 5:31 pm

Let "0" represent "Blue" and "1" represent "green".

Then the rows are
1010
0101
1010
0101
etc.

It looks to me like $A_{ij}= 1$ if i+jn is even and $A_{ij}= 0$ if i+ j is odd.
i is the column and j is the row and the counts start with i= 0 and j= 0.
Guest
 


Return to Progressions, Series



Who is online

Users browsing this forum: No registered users and 4 guests