function [bigp,littlep] = lastTwinPair(n)
%Returns the last twin prime pairs from 2 to N, where N is at least 5
%The structure of this is code is an if loop, embedded in a for loop

for i=1:n-2
   if (aprime(i)==1 && aprime(i+2)==1)
      littlep = i;
      bigp = i+2;
   end
end

  
  
  
      
