lastTwinPair - fprintf'littlep bigp n n/d else disp'1 end

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function x = lastTwinPair(n); f d = 2; for i=d:n-1 z=mod(n,d); end if z==0
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: fprintf('littlep: , bigp: ', n, n/d); else disp('1'); end...
View Full Document

This note was uploaded on 03/15/2011 for the course COM S 100 at Cornell.

Ask a homework question - tutors are online