Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

[TCS] CodeVita Problem : Consecutive Prime Sum C-language Program

[TCS] CodeVita Problem : Consecutive Prime Sum C-language Program

Problem : Consecutive Prime Sum (adsbygoogle = window.adsbygoogle || []).push({}); Some prime numbers can be expressed as Sum of other consecutive prime numbers. For example 5 = 2 + 3 17 = 2 + 3 + 5 + 7 41 = 2 + 3 + 5 + 7 + 11 + 13 Your task is to find out how many prime numbers which satisfy this property are present in the range 3 to N subject to a constraint that



This post first appeared on REQMAT BLOGSPOT, please read the originial post: here

Share the post

[TCS] CodeVita Problem : Consecutive Prime Sum C-language Program

×

Subscribe to Reqmat Blogspot

Get updates delivered right to your inbox!

Thank you for your subscription

×