<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lukas&#039; Weblog &#187; Mathematik</title>
	<atom:link href="http://lukas-prokop.at/blog/category/life/math/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukas-prokop.at/blog</link>
	<description>tail -f /var/log/web</description>
	<lastBuildDate>Sun, 20 May 2012 09:00:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Känguru #30</title>
		<link>http://lukas-prokop.at/blog/2009/05/kanguru-30/</link>
		<comments>http://lukas-prokop.at/blog/2009/05/kanguru-30/#comments</comments>
		<pubDate>Mon, 25 May 2009 00:16:18 +0000</pubDate>
		<dc:creator>meisterluk</dc:creator>
				<category><![CDATA[Mathematik]]></category>

		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=770</guid>
		<description><![CDATA[<a href="http://lukas-prokop.at/blog/2009/05/kanguru-30/" title="Känguru #30"></a>Sehr fasziniert am Känguru-Wettbewerb 2009 (Kategorie: Student) dieses Jahr hat mich das Beispiel #30. Direkt danach postete ich es in den Kommentaren vom BRGblog, allerdings mit falscher Angabe. Die Angabe lautet korrekt: Eine Folge von Zahlen ist definiert durch a0 &#8230;<p class="read-more"><a href="http://lukas-prokop.at/blog/2009/05/kanguru-30/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://lukas-prokop.at/blog/2009/05/kanguru-30/" title="Känguru #30"></a><p>Sehr fasziniert am Känguru-Wettbewerb 2009 (Kategorie: Student) dieses Jahr hat mich das Beispiel #30. Direkt danach postete ich es in den Kommentaren vom <a href="http://brg-viktring-board.at/blog/kanguru-wettbewerb-2009/#comment-4185">BRGblog</a>, allerdings mit falscher Angabe. Die Angabe lautet korrekt:</p>
<blockquote><p>Eine Folge von Zahlen ist definiert durch a<sub>0</sub> = 1, a<sub>1</sub> = 2 und a<sub>n+2</sub> = a<sub>n</sub> + (a<sub>n+1</sub>)<sup>2</sup> für n &ge; 0. Der Rest von a<sub>2009</sub> bei Division durch 7 beträgt</p>
<p>A) 0 &nbsp;&nbsp;&nbsp; B) 1 &nbsp;&nbsp;&nbsp; C) 2 &nbsp;&nbsp;&nbsp; D) 5 &nbsp;&nbsp;&nbsp; E) 6</p>
</blockquote>
<p>Das folgende Skript berechnet die Lösung. Der Trick dabei ist die Tatsache, dass die Einerstellen der Summanden nur die Einerstellen (!) der Summe beeinflusst. Also muss man nur die Einerstelle in der Liste speichern. Sonst wäre bereits die 7. Zahl über Billionen hinaus. Skript &#8230; ganz schön. Aber wie berechnet man sowas am Papier? Dafür hatte ich dann keine Idee mehr. Vorschläge?</p>
<pre class="syntax python">#!/usr/bin/env python

def func(index, a):
    if index < 0:
        raise 'ImplementationError', 'n must be greater or equal 0'
    return (a[index-2] + (a[index-1])**2) % 10

a = [1, 2]
for i in xrange(2, 2010):
    tmp = func(i, a)
    a.append(tmp)
    print i, tmp

print
print 'answer: %d ' % (a[2009] % 7)</pre>
]]></content:encoded>
			<wfw:commentRss>http://lukas-prokop.at/blog/2009/05/kanguru-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beweis: d = √3a</title>
		<link>http://lukas-prokop.at/blog/2009/04/beweis-d-3a/</link>
		<comments>http://lukas-prokop.at/blog/2009/04/beweis-d-3a/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 13:10:47 +0000</pubDate>
		<dc:creator>meisterluk</dc:creator>
				<category><![CDATA[Mathematik]]></category>

		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=689</guid>
		<description><![CDATA[<a href="http://lukas-prokop.at/blog/2009/04/beweis-d-3a/" title="Beweis: d = √3a"></a>Zeige, dass für eine Diagonale d in einem 3-dimensionalen Raum in R3 gilt: d = &#8730;3 * a (vorausgesetzt, dass Länge, Breite und Höhe äquivalent sind) Für einen zweidimensionalen Raum (Länge und Breite) gilt der Satz von Pythagoras: h2 = &#8230;<p class="read-more"><a href="http://lukas-prokop.at/blog/2009/04/beweis-d-3a/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://lukas-prokop.at/blog/2009/04/beweis-d-3a/" title="Beweis: d = √3a"></a><blockquote><p>Zeige, dass für eine Diagonale d in einem 3-dimensionalen Raum in R<sup>3</sup> gilt: d = &radic;3 * a (vorausgesetzt, dass Länge, Breite und Höhe äquivalent sind)</p>
</blockquote>
<p>Für einen zweidimensionalen Raum (Länge und Breite) gilt der Satz von Pythagoras:<br />
h<sup>2</sup> = a<sup>2</sup> + a<sup>2</sup><br />
h = &radic;2 * a</p>
<p>Für diese Diagonale h und die Höhe a gilt ebenfalls der Satz von Pythagoras:<br />
d<sup>2</sup> = 2a<sup>2</sup> + a<sup>2</sup><br />
d = &radic;3 * a</p>
<p><strong>Und die Moral von der Geschicht&#8217;:</strong> In einem 3-dimensionalen Raum kann sich nur eine dritte Wurzel ergeben&#8230; oder eben auch nicht. Wieso konnte ich das einfach nicht glauben?</p>
]]></content:encoded>
			<wfw:commentRss>http://lukas-prokop.at/blog/2009/04/beweis-d-3a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mathematisches Bier</title>
		<link>http://lukas-prokop.at/blog/2009/01/mathematisches-bier/</link>
		<comments>http://lukas-prokop.at/blog/2009/01/mathematisches-bier/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 10:45:31 +0000</pubDate>
		<dc:creator>meisterluk</dc:creator>
				<category><![CDATA[Mathematik]]></category>

		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=482</guid>
		<description><![CDATA[<a href="http://lukas-prokop.at/blog/2009/01/mathematisches-bier/" title="Mathematisches Bier"></a>Unendlich viele Mathematiker gehen in eine Bar. Der erste bestellt ein Bier. Der zweite ein Halbes. Der dritte ein Viertel. &#8230; Der Barkeeper meint &#8220;Ihr seid alle Idioten&#8221; und gibt 2 Bier aus. via God plays dice]]></description>
			<content:encoded><![CDATA[<a href="http://lukas-prokop.at/blog/2009/01/mathematisches-bier/" title="Mathematisches Bier"></a><p>Unendlich viele Mathematiker gehen in eine Bar. Der erste bestellt ein Bier. Der zweite ein Halbes. Der dritte ein Viertel. &#8230; Der Barkeeper meint &#8220;Ihr seid alle Idioten&#8221; und gibt 2 Bier aus.</p>
<p>via <a href="http://godplaysdice.blogspot.com/2008/11/worst-math-joke-ive-heard-today.html">God plays dice</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lukas-prokop.at/blog/2009/01/mathematisches-bier/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wieder mal ein Mathematikrätsel</title>
		<link>http://lukas-prokop.at/blog/2008/09/mathematikratsel/</link>
		<comments>http://lukas-prokop.at/blog/2008/09/mathematikratsel/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 09:12:18 +0000</pubDate>
		<dc:creator>meisterluk</dc:creator>
				<category><![CDATA[Mathematik]]></category>

		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=728</guid>
		<description><![CDATA[<a href="http://lukas-prokop.at/blog/2008/09/mathematikratsel/" title="Wieder mal ein Mathematikrätsel"></a>Wo ist der Fehler? x2 - x2 = x2 - x2 (x + x)(x - x) = x(x - x) (x + x) = x 2x = x 2 = 1]]></description>
			<content:encoded><![CDATA[<a href="http://lukas-prokop.at/blog/2008/09/mathematikratsel/" title="Wieder mal ein Mathematikrätsel"></a><p>Wo ist der Fehler?</p>
<pre>x<sup>2</sup> - x<sup>2</sup> = x<sup>2</sup> - x<sup>2</sup>
(x + x)(x - x) = x(x - x)
(x + x) = x
2x = x
2 = 1</pre>
]]></content:encoded>
			<wfw:commentRss>http://lukas-prokop.at/blog/2008/09/mathematikratsel/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

