First 9 prime Fibonacci number: Difference between revisions
Content deleted Content added
Ada version |
m Ada: Fix Is_Prime |
||
Line 17:
if A mod 3 = 0 then return False; end if;
D := 5;
while D * D <= A loop
if A mod D = 0 then
return False;
|