PARI9-12-07

PARI9-12-07 - 18.781 In-Class Discussion, September 12,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 18.781 In-Class Discussion, September 12, 2007 parisize = 4000000, primelimit = 500000 ? Sumprime(n)=c=1/2;for(k=2,n/2,if(isprime(2*k-1),c=c+1/(2*k-1)));c ? Sumprime(5000) %1 = 318667067102254773549424539911501934437713946362796205802459203645584811530 70926010317904576786243178040480824560512884278343962008488806390088376571713058 11639936782939437124216553706544674064616497969742280469836835188128189380324028 85040050286300567306003244685698666402575786752618321957039246307484184853747530 13397100831138010785259805102551349935464906025854358250018521536105237459976806 03621878051427726065738326540317410446110294518640296563517885422959382963028176 82483533320491156530375709716314288925577936082146008014070245009938169070423761 43489614931514809009119236384867216561031997971308620599637802956469055144085523 79575140356230154579295304632181996853778464903677745764822993218039560726456028 81346548321396994764452573032854240804917587390690528386468703974334379069696485 72118571419141939953855661166884691356599816910613793961453248212307474369333869...
View Full Document

This note was uploaded on 04/28/2009 for the course MATH 18.781 taught by Professor Brubaker during the Spring '09 term at MIT.

Page1 / 2

PARI9-12-07 - 18.781 In-Class Discussion, September 12,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online