Friday, 17 June 2016
Numbers Task 9
Here is another table showing the prime numbers up until 100 using the sieve of Eratosphenes.
The prime numbers are blue/underlined, the even numbers are all orange and all the other non-primes are grey. The only prime number that is not blue is 2 as it is also an even number.
Numbers Task 8
Using the sieve of Eratosthenes here is a list of all the prime numbers between 1 and 100.
The prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97.
Numbers Task 3.5
The Sieve of Eratosthenes is a simple algorithm for finding all prime numbers up to any given limit. It does this by striking out all the multiples of prime numbers such as 2, 3, 5 and 7. First we strike out the multiples of 2, then the multiples of 3, then the multiples of 5 and then the multiples of 7. What is left are the prime numbers.
The Prime numbers in this table have been underlined and the ones that are not prime and have been marked.
Numbers Task 10 and 11
Here is a list of prime numbers:
Visit this website to see more: Prime Number List.
The biggest known prime number so far is 274,207,281 − 1, a number with 22,338,618 decimal digits. It was found in 2016 by the Great Internet Mersenne Prime Search (GIMPS).
The biggest known prime number so far is 274,207,281 − 1, a number with 22,338,618 decimal digits. It was found in 2016 by the Great Internet Mersenne Prime Search (GIMPS).
Task 25.3
Trying out all the formatting, quotation and citation tags at w3schools.
The HTML code:
<!DOCTYPE html>
<html>
<body>
<p><cite>WWF's</cite> goal is to: <q><mark><del>Build a future where people live in <i>harmony</i> with <em>nature</em>.</del></mark></q></p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, <abbr title="World Wildlife"><b>WWF<b></abbr> has been protecting the future of nature.
The world's leading conservation organization,
<strong>WWF</strong> works in <sub>100</sub> countries and is supported by
1.2 million members in the United States and
close to <sup>5</sup> million globally.
</blockquote>
<address>
<small>WWF</small>-New Zealand<br>
Level 6, Davis Langdon House<br>
49 Boulcott Street<br>
Wellington Central 6011<br>
New Zealand<br>
</address>
<br>
<bdo dir="rtl">WWF's goal is to: <q>Build a future where people live in harmony with nature.</bdo>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p><cite>WWF's</cite> goal is to: <q><mark><del>Build a future where people live in <i>harmony</i> with <em>nature</em>.</del></mark></q></p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, <abbr title="World Wildlife"><b>WWF<b></abbr> has been protecting the future of nature.
The world's leading conservation organization,
<strong>WWF</strong> works in <sub>100</sub> countries and is supported by
1.2 million members in the United States and
close to <sup>5</sup> million globally.
</blockquote>
<address>
<small>WWF</small>-New Zealand<br>
Level 6, Davis Langdon House<br>
49 Boulcott Street<br>
Wellington Central 6011<br>
New Zealand<br>
</address>
<br>
<bdo dir="rtl">WWF's goal is to: <q>Build a future where people live in harmony with nature.</bdo>
</body>
</html>
Task 38: Lists
Doing the exercises at w3schools on Lists.
Exercise 1:
Exercise 1:
Exercise 2:
Exercise 3:
Exercise 4:
Exercise 5:
Exercise 6:
Subscribe to:
Posts (Atom)