<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.forth-ev.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.forth-ev.de/feed.php">
        <title>Forth-eV Wiki - en:examples</title>
        <description></description>
        <link>https://wiki.forth-ev.de/</link>
        <image rdf:resource="https://wiki.forth-ev.de/lib/exe/fetch.php/wiki:logo.png" />
       <dc:date>2026-04-21T11:56:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p115?rev=1370546803"/>
                <rdf:li rdf:resource="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p146?rev=1370546803"/>
                <rdf:li rdf:resource="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p151?rev=1370546803"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.forth-ev.de/lib/exe/fetch.php/wiki:logo.png">
        <title>Forth-eV Wiki</title>
        <link>https://wiki.forth-ev.de/</link>
        <url>https://wiki.forth-ev.de/lib/exe/fetch.php/wiki:logo.png</url>
    </image>
    <item rdf:about="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p115?rev=1370546803">
        <dc:format>text/html</dc:format>
        <dc:date>2013-06-06T19:26:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Project Euler - Problem 115</title>
        <link>https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p115?rev=1370546803</link>
        <description>Project Euler - Problem 115

From here

NOTE: This is a more difficult version of problem 114.

A row measuring n units in length has red blocks with a minimum length of m units placed on it, such that any two red blocks (which are allowed to be different lengths) are separated by at least one black square.</description>
    </item>
    <item rdf:about="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p146?rev=1370546803">
        <dc:format>text/html</dc:format>
        <dc:date>2013-06-06T19:26:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Project Euler - Problem p146</title>
        <link>https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p146?rev=1370546803</link>
        <description>Project Euler - Problem p146

Solution of the Problem and definition of forth words:

	*  double precision logic and shift words
	*  double precision math
	*  Miller-Rabin primality test
	*  random number generator  


#! /usr/bin/gforth

\ ---- logic and shift words for double cell operands -------------------------

: dand    ( d d -- d     ) rot and &gt;r and r&gt;       ;
: dinvert (   d -- d     ) swap invert swap invert ;
: dlshift ( d u -- d     ) 0 ?do d2* loop          ;
: dor     ( d d -- d …</description>
    </item>
    <item rdf:about="https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p151?rev=1370546803">
        <dc:format>text/html</dc:format>
        <dc:date>2013-06-06T19:26:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Project Euler - Problem 151</title>
        <link>https://wiki.forth-ev.de/doku.php/en:examples:project_euler_-_problem_p151?rev=1370546803</link>
        <description>Project Euler - Problem 151

From here

A printing shop runs 16 batches (jobs) every week and each batch requires a sheet of special colour-proofing paper of size A5.

Every Monday morning, the foreman opens a new envelope, containing a large sheet of the special paper with size A1.</description>
    </item>
</rdf:RDF>
