Sounds like Project Euler ... problem 2, to be precise.

On Tue, Dec 21, 2010 at 4:31 AM, Shalini Sah <
[email protected]> wrote:

> Thnx a lot !
>
>
> On Tue, Dec 21, 2010 at 1:18 AM, Dave <[email protected]> wrote:
>
>> @Shalini: You can find a table of Fibonacci numbers at
>> http://en.wikipedia.org/wiki/Fibonacci_number#List_of_Fibonacci_numbers.
>> You will notice that every third number in the sequence is even, and
>> that there are only 11 even ones less than 4 million. So grab some
>> paper and a pencil or your calculator and add them up.
>>
>> Dave
>>
>> On Dec 20, 9:06 am, Shalini Sah <[email protected]>
>> wrote:
>> > Each new term in the Fibonacci sequence is generated by adding the
>> previous
>> > two terms. By starting with 1 and 2, the first 10 terms will be:
>> >
>> > 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
>> >
>> > Find the sum of all the even-valued terms in the sequence which do not
>> > exceed four million. I'm just a beginner..plz help.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<algogeeks%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Fear of the LORD is the beginning of knowledge (Proverbs 1:7)

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to