View Full Version : Sequence
PiecemeL
Jun 10, 2012, 01:57 PM
anyone can help me now?
create equation from ;
0 , 2 , 0 , 2 , 0 , 2 , 0
please help me~
Curlyben
Jun 10, 2012, 02:06 PM
Well that could be very simple indeed.
What do you think ?
PiecemeL
Jun 10, 2012, 02:08 PM
Can u help me with the answer? I blur right now~
Wondergirl
Jun 10, 2012, 02:13 PM
Any equation? Times or division or anything?
PiecemeL
Jun 10, 2012, 02:33 PM
nope.. that's all.. create equation from that sequence.. can u answer it?
Wondergirl
Jun 10, 2012, 02:36 PM
Of course I can! Have you studied your times tables and know them? If so, you should be able to answer it too.
PiecemeL
Jun 10, 2012, 03:12 PM
Actually this question from my friend.. I finished my study so long already.. forgot about the concept.. make me blur~ >.<
Wondergirl
Jun 10, 2012, 03:55 PM
Wait a minute!! Who needs to know the answer to this math equation?
ebaines
Jun 11, 2012, 07:03 AM
Each number is two minus the previous number. So given N_0 = 0, then:
N_i = 2- N_{i-1}
for i = 1, 2, 3...
Or you could use the modulo operator:
N_i = 2 \times mod(i,2)
for i = 0, 1, 2...