<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Funke Akinola on Medium]]></title>
        <description><![CDATA[Stories by Funke Akinola on Medium]]></description>
        <link>https://medium.com/@funkeakinola?source=rss-847c11d625f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*De-dFuVJUAE7AGoh2hDS4A.jpeg</url>
            <title>Stories by Funke Akinola on Medium</title>
            <link>https://medium.com/@funkeakinola?source=rss-847c11d625f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:54:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@funkeakinola/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Esau Experience]]></title>
            <link>https://medium.com/@funkeakinola/the-esau-experience-73fef4f92d1c?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/73fef4f92d1c</guid>
            <category><![CDATA[heritage]]></category>
            <category><![CDATA[sacrifice]]></category>
            <category><![CDATA[nigeria]]></category>
            <category><![CDATA[birthright]]></category>
            <category><![CDATA[poetry]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Tue, 03 Dec 2019 16:39:21 GMT</pubDate>
            <atom:updated>2019-12-08T03:40:26.656Z</atom:updated>
            <content:encoded><![CDATA[<p>The Esau Experience</p><p>Let me tell you a tale!<br>Of how we all left because there was nothing,<br>And found out we had to sell our birthright.<br>It was a dream come through to leave.<br>Little did we know we might have to pay a price.<br>In the euphoria of departure, we discovered the holes in our pockets.<br>The price for mending: our birthright.<br>But we had nothing to help return.<br>We couldn’t think of the shame involved.<br>But what was required from us was bigger.<br>It was the dream!!<br>Others that paid this price have gone blind.<br>Making excuses to prove their advantage.<br>But we sit here wondering if we should let ours go too.<br>Should we let what we want, destroy what we’ve dreamt of?<br>Our existence lies in this birthright.<br>But it is now the price for our survival.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73fef4f92d1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Her]]></title>
            <link>https://medium.com/@funkeakinola/her-b02a87c7af8b?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b02a87c7af8b</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[girls-in-tech]]></category>
            <category><![CDATA[nerds]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Sat, 02 Mar 2019 04:41:00 GMT</pubDate>
            <atom:updated>2019-03-02T04:41:00.821Z</atom:updated>
            <content:encoded><![CDATA[<p>Her</p><figure><a href="http://nerdylittlesecret.com/2015/02/came-indies-ashlee-blackwell/"><img alt="" src="https://cdn-images-1.medium.com/max/426/1*moqNR8CWcxsQ9sOdU_wLDA.png" /></a></figure><p>Beauty calls out at the sight of her.<br>A shy snub buried in her books.<br>A conversation seems almost impossible <br>Cos the only response available is a smile.<br>A thought of her interested in just ignoring you surfaces.<br>Then a wild imagination of her imagination.</p><p>But she&#39;s just a self-driven lady.<br>With so much desire to be more,<br>So much awareness of time.<br>She sadly has nothing to say to your side comments.<br>Not because you&#39;re dumb,<br>But because she&#39;s lost in her thoughts of leaving a mark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*QSs0T5YyIA1KlwGaezKTFg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*ymGRR8yo9mBllzwjRB1vFw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*l-Dg9TfAld9beQxfmMSWsQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*lU5-RfpJ_62tyRI8d9GSRA.png" /></figure><p>She loves the fact that your voice brings her to reality.<br>Still nothing comes forth from her mouth.<br>Rather than say rubbish, she keeps quiet.<br>Moving away from you, ideas of what she could have said start popping up.<br>But it made no sense for her to run after you and say what she should have said.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b02a87c7af8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This will also pass]]></title>
            <link>https://medium.com/@funkeakinola/this-will-also-pass-aba78e057d1e?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/aba78e057d1e</guid>
            <category><![CDATA[hopes-and-dreams]]></category>
            <category><![CDATA[hopelessness]]></category>
            <category><![CDATA[poem]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Tue, 05 Feb 2019 15:24:21 GMT</pubDate>
            <atom:updated>2019-02-17T19:32:11.069Z</atom:updated>
            <content:encoded><![CDATA[<p>The cloud is gloomy,</p><p>The space empty.</p><p>So much noise,</p><p>But nothing tangible.</p><p>So many promises flying around,</p><p>But no proof!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fI8fQ2n3MqYQoQzm" /><figcaption>Photo by <a href="https://unsplash.com/@chairulfajar_?utm_source=medium&amp;utm_medium=referral">@chairulfajar_</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It seems like I’m all alone.</p><p>Like I’m a spare tire to those around,</p><p>So selfish to ask for help.</p><p>Tears plead to come out,</p><p>But I remember that I’ve been here before.</p><p>And from history, this will also pass!!</p><p>So when it hurts so bad,</p><p>When words become choked with tears,</p><p>When all you see is a dead end,</p><p>When you begin to question everything,</p><p>And your ability to break forth;</p><p>Be rest assured that this will pass!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uVTT6nJlAXDpUhk8" /><figcaption>Photo by <a href="https://unsplash.com/@w_lissa071?utm_source=medium&amp;utm_medium=referral">Wadi Lissa</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Life is in phases,</p><p>Phases engulfing seasons.</p><p>I’ve come to find a place of rest in it all,</p><p>Christ in me is the hope of glory.</p><p>I don’t require you to take this stance,</p><p>But by all means, take one!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PK9-YvlWy7Y3Q8p5" /><figcaption>Photo by <a href="https://unsplash.com/@vimarovi?utm_source=medium&amp;utm_medium=referral">Victor Rodriguez</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Cos when it gets so clumsy and irregular,</p><p>And it seems like the only option is to jump.</p><p>Fly off the cliff before the cliff runs you off.</p><p>You need a reassurance that this will also pass.</p><p>That you’re not stupid for enjoying the moment.</p><p>Cos you know darn well that this will also pass!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aba78e057d1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fibonacci optimization]]></title>
            <link>https://medium.com/@funkeakinola/fibonacci-optimization-8d7a3f0b96fb?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d7a3f0b96fb</guid>
            <category><![CDATA[fibonacci]]></category>
            <category><![CDATA[tail-recursion]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[big-o-notation]]></category>
            <category><![CDATA[coursera]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Wed, 13 Jun 2018 05:43:17 GMT</pubDate>
            <atom:updated>2018-06-13T05:43:17.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRaoaAEpimP4cvD691vkBA.png" /><figcaption>Fibonacci</figcaption></figure><blockquote>The exact content of this post is <a href="https://medium.com/series/6cad0961bfff">here</a> but it looks more stylish as a series rather than readable; hence this story. Enjoy!!</blockquote><p>Computing Fibonacci with the usual recursion style or normal iteration is pretty fast and good when you’re operating with small numbers but it becomes pretty messy and impossible to compute for very large numbers(with respect to computation time and memory size used).</p><p>Moreover, normal iteration has been proven to be generally quite better (faster and needs less space) than recursion. More so, for Fibonacci, it’s crazily faster with recursion having a runtime that gets exponentially larger than the Fibonacci index e.g F(100) will take about a 1000 years to compute. {Read more <a href="https://stackoverflow.com/questions/2651112/is-recursion-ever-faster-than-looping">here</a>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*_PreP_LhZfmn0t-cPyIf3g.png" /><figcaption>Fibonacci of 100</figcaption></figure><p>I tried it and after 13.94 hours, I still could not get an answer so I stopped!!</p><p>This is where the concept of <a href="https://www.quora.com/Is-recursion-faster-than-loops">tail recursion</a> comes into play. Tail recursion is basically an inverted pyramid, which means you build more steps on a foundation compared to recursion where you have to keep going back to build “more foundation”. GeeksforGeeks explains the concept really well <a href="https://www.geeksforgeeks.org/tail-recursion/">here</a>. Tail recursion works at almost the speed of loop and most times better. However, not all programming language support tail recursion. Of recent, Java implicitly introduced it in Java 8 through lambda expression(So much to know about this “expression” that wants to keep Java in <a href="https://leanpub.com/whatsnewinjava8/read">vogue</a>).</p><p>Another allegedly fast way is to use an array for Fibonacci especially when you want to be able to randomly call a range of Fibonacci indexes or get the place value in a particular Fibonacci.</p><p>However, this can also become impossible with variable type and memory space especially when you are dealing with very large numbers e.g F(239) which is 3.96E49. Moreover, why should you store a number that long when all you want is the last number i.e 1. And all I would do as a human is go to the last digit and pick it, so why should the computer do more?</p><p>A easy way is to add and store modulo(i%10) of the sum of Fibonacci numbers from 1 to i because numbers round up to the left and not to the right so the last digit is static with respect to other positions apart from another last digit e.g</p><p>F(1)=1</p><p>F(2)= 1 Sum=2, mod_sum= 2%10 =2</p><p>F(3)= 2 Sum=4, mod_sum= 4%10 =4</p><p>F(4)= 3 Sum=7, mod_sum= 7%10 =7</p><p>F(5)= 5 Sum=12, mod_sum= 12%10 =2</p><p>F(6)= 8 Sum=20, mod_sum= 10%10 =0</p><p>F(7)= 13 Sum=33, mod_sum= 13%10 =3</p><p>F(8)= 21 Sum=54, mod_sum= 24%10 =4</p><p>From the above, it can be deduced that the last digit does not change for both the sum of fibonacci and mod_sum of fibonacci. A step further is to actually sum up just F(i)mod(10) e.g</p><p>F(6)= 8 Sum=20, mod_sum= 10%10 =0</p><p>F(7)= 13 Sum=33, F(7)mod(10)=13%10=3, mod_sum= (0+3)%10 =3</p><p>F(8)= 21 Sum=54, F(8)mod(10)=21%10=1, mod_sum= (3+1)%10 =4</p><p>There isn’t much significance at this stage where i is pretty small. However, as i progresses and becomes as big as 10⁵, at no point will the sum be as high 10 and this saves space and time.</p><p>So I’d like to ask: how do you think the ten thousandth place value of F(i) can be derived even for crazily big number? Yeah it’s actually means you’d be using F(i) %10000.</p><p>Well, that seemed to go pretty well and fast; however what if we are dealing with an extremely large index like 1⁰¹⁹. Even the index is pretty large and would require a very long time to get to. Just imagine punishing a child with the assignment of writing 1–10¹⁹. I can only remember being asked to write 1 to 1000 (or was it 200?) in Yoruba language class as a school assignment and it took weeks, the most efficient classmate in high school used over a week(lol!!). So let’s just say the child will use over a year, except the child was permitted to use a PC and made good use of Microsoft Excel and the concept of concatenation(#winks) but this will still require hours.</p><p>Now, the computer is meant to not just generate the indexes but the Fibonacci value at the index, and the last digit or a factor of the number.</p><p>The best way I know out of this trap was spoken about <a href="https://https//medium.com/competitive/huge-fibonacci-number-modulo-m-6b4926a5c836">here</a>. It’s called Pisano period; this is one of the beauties of Mathematics — understanding patterns. I think it’s safe here to say everything in nature (normally or generally) follows a pattern(Newton’s laws of motion) so also numbers.</p><p>Pisano period points out the fact that the value of F(i)mod(x) repeats itself at a particular interval e.g</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*U9R47V-oKk73URJvx7lc8w.png" /><figcaption>Pisano period</figcaption></figure><p>From the table, it can be deduced that for F(i)mod(2), the interval that the sequence repeats itself is 3 which means F(i)mod (2) = F(i mod(3)) mod(2) while that of F(i)mod(3) is 8 i.e F(i)mod (3) = F(i mod(8)) mod(3). This means that to get the unit digit(of base ten which is the generic number system), we have to get the pisano period of F(i)mod(10). Permit me to leak the secret; it’s a period of 60 i.e F(i)mod (10) = (F(i mod(60))mod(10).</p><p>The last thing to look at is :What if I’m trying to get the last digit of a partial sum of large Fibonacci numbers e.g F(500) to F(10¹²). Do we get the value of 10¹²mod 60 and sum up F(1) to F(10¹² mod 60); or do we get the value of 500 mod 60, get the sum from (F(1) to F(500 mod(60)) and subtract if from the sum of F(1) to F(10¹² mod 60); what if the value of the sum (F(1) to F(500 mod(60)) is greater than F(1) to F(10¹² mod(60))</p><p>Well, we are going to use frustum technique: calculate everything and calculate the missing part and subtract the missing part from everything.</p><p>What if the missing part have a higher value(bigger last digit), then we’d subtract and add 10 or whichever number system we are using (i.e 2, 3).</p><p>E.g the last digit of the sum of F(9) to F(12)</p><p>I will break this down into three steps:</p><p>i. Since the F(9) is inclusive, we would omit it i.e of sum of F(1) to F(8) instead of sum of F(1) to F(9).</p><p>F(1)- F(8) = F(10)-1( sum of the first n Fibonacci is F(n+2) -1; you can verify)</p><p>= 55 –1 = 54</p><p>ii. Get the total sum:</p><p>F(1)-F(12) = F(14)-1 =370.</p><p>iii. Subtract the (i) from (ii):</p><p>So the value of F(9) to F(12) = 370–54 = 316</p><p>Therefore the last digit is 6.</p><p>However, when we are dealing with very large number we would not be saving the entire value, only the last digit or the place value needed.</p><p>This will be illustrated with three steps also while drawing inference from the above steps:</p><p>i. F(1) to F(8) will be stored as 4</p><p>ii. F(1) to F(12) as 0;</p><p>iii. Subtract 4 from 0 would give -4</p><p>iv. Add 10 (when we get negative values) would lead to -4 +10 = 6</p><p>The source code for this can be found <a href="https://github.com/Adefunke/Last-Digit-of-the-Sum-of-very-large-Fibonacci-Numbers/blob/master/FibonacciPartialSum.txt">here</a>.</p><blockquote>The essence of this long essay on Fibonacci is not primarily to know how to play with Fibonacci but to bring into focus little things that make code behave better; being conscious about Big O, mathematical principles, not storing what’s not needed.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d7a3f0b96fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fibonacci optimization]]></title>
            <link>https://medium.com/series/fibonacci-optimization-6cad0961bfff?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cad0961bfff</guid>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Sat, 09 Jun 2018 22:40:35 GMT</pubDate>
            <atom:updated>2018-06-11T05:26:38.358Z</atom:updated>
            <content:encoded><![CDATA[<p>Computing Fibonacci with the usual recursion style or normal iteration is pretty fast and good when you’re operating with small numbers but it becomes pretty messy and impossible to compute for very large numbers(with respect to computation time and memory size used).</p><p>Moreover, normal iteration has been proven to be generally quite better (faster and needs less space) than recursion. More so, for Fibonacci, it’s crazily faster with recursion having a runtime that gets exponentially larger than the Fibonacci index e.g F(100) will take about a 1000 years to compute. {Read more <a href="https://stackoverflow.com/questions/2651112/is-recursion-ever-faster-than-looping">here</a>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*_PreP_LhZfmn0t-cPyIf3g.png" /><figcaption>Fibonacci of 100</figcaption></figure><p>I tried it and after 13.94 hours, I still could not get an answer so I stopped!!</p><p>This is where the concept of <a href="https://www.quora.com/Is-recursion-faster-than-loops">tail recursion</a> comes into play. Tail recursion is basically an inverted pyramid, which means you build more steps on a foundation compared to recursion where you have to keep going back to build “more foundation”. GeeksforGeeks explains the concept really well <a href="https://www.geeksforgeeks.org/tail-recursion/">here</a>. Tail recursion works at almost the speed of loop and most times better. However, not all programming language support tail recursion. Of recent, Java implicitly introduced it in Java 8 through lambda expression(So much to know about this “expression” that wants to keep Java in <a href="https://leanpub.com/whatsnewinjava8/read">vogue</a>).</p><p>Another allegedly fast way is to use an array for Fibonacci especially when you want to be able to randomly call a range of Fibonacci indexes or get the place value in a particular Fibonacci.</p><p>However, this can also become impossible with variable type and memory space especially when you are dealing with very large numbers e.g F(239) which is 3.96E49. Moreover, why should you store a number that long when all you want is the last number i.e 1. And all I would do as a human is go to the last digit and pick it, so why should the computer do more?</p><p>A easy way is to add and store modulo(i%10) of the sum of Fibonacci numbers from 1 to i because numbers round up to the left and not to the right so the last digit is static with respect to other positions apart from another last digit e.g</p><p>F(1)=1</p><p>F(2)= 1 Sum=2, mod_sum= 2%10 =2</p><p>F(3)= 2 Sum=4, mod_sum= 4%10 =4</p><p>F(4)= 3 Sum=7, mod_sum= 7%10 =7</p><p>F(5)= 5 Sum=12, mod_sum= 12%10 =2</p><p>F(6)= 8 Sum=20, mod_sum= 10%10 =0</p><p>F(7)= 13 Sum=33, mod_sum= 13%10 =3</p><p>F(8)= 21 Sum=54, mod_sum= 24%10 =4</p><p>From the above, it can be deduced that the last digit does not change for both the sum of fibonacci and mod_sum of fibonacci. A step further is to actually sum up just F(i)mod(10) e.g</p><p>F(6)= 8 Sum=20, mod_sum= 10%10 =0</p><p>F(7)= 13 Sum=33, F(7)mod(10)=13%10=3, mod_sum= (0+3)%10 =3</p><p>F(8)= 21 Sum=54, F(8)mod(10)=21%10=1, mod_sum= (3+1)%10 =4</p><p>There isn’t much significance at this stage where i is pretty small. However, as i progresses and becomes as big as 1⁰⁵, at no point will the sum be as high 10 and this saves space and time.</p><p>So I’d like to ask: how do you think the ten thousandth place value of F(i) can be derived even for crazily big number? Yeah it’s actually means you’d be using F(i) %10000.</p><p>Well, that seemed to go pretty well and fast; however what if we are dealing with an extremely large index like ¹⁰¹⁹. Even the index is pretty large and would require a very long time to get to. Just imagine punishing a child with the assignment of writing 1–1⁰¹⁹. I can only remember being asked to write 1 to 1000 (or was it 200?) in Yoruba language class as a school assignment and it took weeks, the most efficient classmate in high school used over a week(lol!!). So let’s just say the child will use over a year, except the child was permitted to use a PC and made good use of Microsoft Excel and the concept of concatenation(#winks) but this will still require hours.</p><p>Now, the computer is meant to not just generate the indexes but the Fibonacci value at the index, and the last digit or a factor of the number.</p><p>The best way I know out of this trap was spoken about <a href="https://https//medium.com/competitive/huge-fibonacci-number-modulo-m-6b4926a5c836">here</a>. It’s called Pisano period; this is one of the beauties of Mathematics — understanding patterns. I think it’s safe here to say everything in nature (normally or generally) follows a pattern(Newton’s laws of motion) so also numbers.</p><p>Pisano period points out the fact that the value of F(i)mod(x) repeats itself at a particular interval e.g</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*U9R47V-oKk73URJvx7lc8w.png" /><figcaption>Pisano period</figcaption></figure><p>From the table, it can be deduced that for F(i)mod(2), the interval that the sequence repeats itself is 3 which means F(i)mod (2) = F(i mod(3)) mod(2) while that of F(i)mod(3) is 8 i.e F(i)mod (3) = F(i mod(8)) mod(3). This means that to get the unit digit(of base ten which is the generic number system), we have to get the pisano period of F(i)mod(10). Permit me to leak the secret; it’s a period of 60 i.e F(i)mod (10) = (F(i mod(60))mod(10).</p><p>The last thing to look at is :What if I’m trying to get the last digit of a partial sum of large Fibonacci numbers e.g F(500) to F(1⁰¹²). Do we get the value of 1⁰¹²mod 60 and sum up F(1) to F(1⁰¹² mod 60); or do we get the value of 500 mod 60, get the sum from (F(1) to F(500 mod(60)) and subtract if from the sum of F(1) to F(1⁰¹² mod 60); what if the value of the sum (F(1) to F(500 mod(60)) is greater than F(1) to F(1⁰¹² mod(60))</p><p>Well, we are going to use frustum technique: calculate everything and calculate the missing part and subtract the missing part from everything.</p><p>What if the missing part have a higher value(bigger last digit), then we’d subtract and add 10 or whichever number system we are using (i.e 2, 3).</p><p>E.g the last digit of the sum of F(9) to F(12)</p><p>I will break this down into three steps:</p><p>i. Since the F(9) is inclusive, we would omit it i.e of sum of F(1) to F(8) instead of sum of F(1) to F(9).</p><p>F(1)- F(8) = F(10)-1( sum of the first n Fibonacci is F(n+2) -1; you can verify)</p><p>= 55 –1 = 54</p><p>ii. Get the total sum:</p><p>F(1)-F(12) = F(14)-1 =370.</p><p>iii. Subtract the (i) from (ii):</p><p>So the value of F(9) to F(12) = 370–54 = 316</p><p>Therefore the last digit is 6.</p><p>However, when we are dealing with very large number we would not be saving the entire value, only the last digit or the place value needed.</p><p>This will be illustrated with three steps also while drawing inference from the above steps:</p><p>i. F(1) to F(8) will be stored as 4</p><p>ii. F(1) to F(12) as 0;</p><p>iii. Subtract 4 from 0 would give -4</p><p>iv. Add 10 (when we get negative values) would lead to -4 +10 = 6</p><p>The source code for this can be found <a href="https://github.com/Adefunke/Last-Digit-of-the-Sum-of-very-large-Fibonacci-Numbers/blob/master/FibonacciPartialSum.txt">here</a>.</p><blockquote>The essence of this series on Fibonacci is not primarily to know how to play with Fibonacci but to bring into focus little things that make code behave better; being conscious about Big O, mathematical principles, not storing what’s not needed.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cad0961bfff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tale of a Proud Crusher (Part 3)]]></title>
            <link>https://medium.com/@funkeakinola/the-tale-of-a-proud-crusher-part-3-59e0d7789203?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/59e0d7789203</guid>
            <category><![CDATA[love]]></category>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[past]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Sat, 10 Feb 2018 17:47:50 GMT</pubDate>
            <atom:updated>2018-02-10T17:53:50.908Z</atom:updated>
            <content:encoded><![CDATA[<p>That ended my search for the day.</p><p>Sadly, on the next day, a new energy rose in me,</p><p>I took to a 2-day WhatsApp search to check chats for anything peculiar to just you.</p><p>If the gods be with me, then I might locate your contact.</p><p>Finally, I decided to check for profile pictures.</p><p>Alas, I found it!!!</p><p>As soon as I could make a call,</p><p>I put a call through.</p><p>You picked and it sounded like you were excited.</p><p>Then you asked for my name,</p><p>I told you and immediately you told me you’d call me back.</p><p>A part of me wanted to burst into tears because I knew I was a fool.</p><p>I knew you were the poison I needed to avoid.</p><p>My tree of the knowledge of good and evil.</p><p>But the foolish me saved your contact,</p><p>I never know when I would need it.</p><p>And you definitely don’t deserve a 2 seconds search.</p><p>Days passed, weeks followed and months must have crawled by.</p><p>And for once I knew my heart got the signal,</p><p>The rhythm of the song my head had always played,</p><p>So I went online and saw your new chats.</p><p>The new me burst into laughter.</p><p>Because I knew this game was up.</p><p>As expected, it was a request for my contact again!</p><p>A part of me wanted to complain,</p><p>But the new me beamed and sent the contact.</p><p>The old me would have expected more but this new me doesn’t care,</p><p>After all, contacts are meant to be shared.</p><p>Another season passed but there was no call and I didn’t notice</p><p>A chat with an old friend brought you into existence and I chatted you up.</p><p>You started your old and dirty flirts but now I know better,</p><p>I didn’t help nor did I cast you away.</p><p>I was adequately polite however firm enough to let you know,</p><p>That the breach in communication was all your fault.</p><p>I know I’ve placed you where you belong.</p><p>An acquaintance, worthy of warm regards and nothing more.</p><p>We both can now exist in our space.</p><p>No enmity, nor expectation.</p><p>No attraction, nor commitment.</p><p>Just as bland as a hamster?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59e0d7789203" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tale of a Proud Crusher (Part 2)]]></title>
            <link>https://medium.com/@funkeakinola/the-tale-of-a-proud-crusher-part-2-c2df3fe8eaa2?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2df3fe8eaa2</guid>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[love]]></category>
            <category><![CDATA[crush]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Tue, 06 Feb 2018 01:00:50 GMT</pubDate>
            <atom:updated>2018-09-17T02:18:55.782Z</atom:updated>
            <content:encoded><![CDATA[<p>But my heart, my wicked heart kept drawing me back</p><p>And I kept wishing for more rain during a harmattan season in an arid region</p><p>Wishing that an imminent winter will not come.</p><p>Hoping the horn of a snail might be useful in a fight</p><p>But my head knew the truth.</p><p>Time came to change locations</p><p>Not that we’ve ever been in the same location for too long</p><p>But you left yours for a farther location</p><p>And all I could think of was:</p><p>‘If only you could stop by on your way</p><p>You’d have made my year’.</p><p>So I began to wonder what could be the inspiration behind my stupid affection.</p><p>It was not that I’ve seen you do magic in academics</p><p>Nor have I seen you delve into the deeper wonders of God’s word</p><p>Nor do I know if you are ribbed</p><p>I just liked you and it’s stupid</p><p>Maybe it is because of your borrowed ride</p><p>But I know it’s definitely not so</p><p>I’ve seen better ones, entered more excellent ones</p><p>Maybe love is just as stupid as we claim it is.</p><p>Just as blind as folklores claim.</p><p>After a week of relocation,</p><p>Something tweaked in me to reach out.</p><p>Then I discovered I no longer had your contact.</p><p>Checked all our social media chats,</p><p>There was no number</p><p>So, I decided to take it a step further.</p><p>I tracked our chats to as far back as the time we first said hi,</p><p>And all I saw was my number,</p><p>Sent to you multiple times.</p><p>Cause you always had the excuse that you’ve misplaced my number.</p><p>Then I felt stupid once more.</p><p>(…to be continued.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2df3fe8eaa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tale of a Proud Crusher (Part 1)]]></title>
            <link>https://medium.com/@funkeakinola/the-tale-of-a-proud-crusher-part-1-c2aa18c60b85?source=rss-847c11d625f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2aa18c60b85</guid>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[fiction-series]]></category>
            <category><![CDATA[love]]></category>
            <category><![CDATA[unspoken-words]]></category>
            <dc:creator><![CDATA[Funke Akinola]]></dc:creator>
            <pubDate>Sun, 28 Jan 2018 21:48:09 GMT</pubDate>
            <atom:updated>2018-02-06T01:05:40.448Z</atom:updated>
            <content:encoded><![CDATA[<p>I loved you.</p><p>I was infatuated with you.</p><p>I even imagined you being mine from God.</p><p>Yet all you saw was a good smart girl passing by</p><p>I let down my guards around you</p><p>Played the fool, yet all you saw was an acquaintance.</p><p>Now, I’ve given up</p><p>I didn’t want to lose your number</p><p>But life and providence played the master</p><p>And voila!,</p><p>All I’ve left of you are memories and prayers that we never bump into each other.</p><p>Days rolled into months</p><p>And for once I felt like I had no memory of you</p><p>No thought of your smell after an evening bath</p><p>Everything about you was GONE!!!</p><p>Now, I could see others.</p><p>Free air at last!</p><p>Then for just a twinkle,</p><p>I took to the social media</p><p>To show how far I’ve fared,</p><p>How good I looked,</p><p>How much I’ve had God’s backing.</p><p>But just at that moment of me and no you,</p><p>You slid into my DM,</p><p>To tell me how good I looked,</p><p>How much you’d have loved to hear from me.</p><p>Then you put the blame on me that I’d never reached out</p><p>And the hope I so tried to crush gained height within a minute.</p><p>Then we started the chats</p><p>The gentle flirtations</p><p>The `I’ve never met anyone like you!’</p><p>‘Let me tell you one of my deepest secrets!’</p><p>I wanted to run because I felt this was heading nowhere.</p><p>(…to be continued.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2aa18c60b85" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>