Show sourcecode
The following files exists in this folder. Click to view.
index.html
ovn_gr1.php
ovn_gr2.php
ovn_gr3a.php
ovn_gr3b.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php
ovn_gr6.php
21 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html>
<body>
<?php
for ($i =2; $i <= 100; $i++){
$primtalsant = 0;
for ($a = $i-1; $a > 1; $a--){
if ($i % $a == 0){
$primtalsant += 1;
}
}
if ($primtalsant == 0){
echo $i. "<br>";
}
}
?>
</body>
</html>