<?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>number sequence | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/number-sequence/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sat, 12 Dec 2020 09:57:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>number sequence | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Interesting number sequence</title>
		<link>https://learncgames.com/interesting-number-sequence/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=interesting-number-sequence</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sat, 12 Dec 2020 00:00:52 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Other stuff]]></category>
		<category><![CDATA[number sequence]]></category>
		<category><![CDATA[puzzle]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2042</guid>

					<description><![CDATA[<p>Here&#8217;s an interesting puzzle (well for some people). If I have the integers 4,5,6,7 and 8 and a special C function f so that f(4)=2, f(5) = 5, f(6)=10, f(7)=40 and f(8) = 92. What is the function f? And no it&#8217;s not a simple array containing the numbers 2,5,10,40,92 at positions 4-8! I also [&#8230;]</p>
The post <a href="https://learncgames.com/interesting-number-sequence/">Interesting number sequence</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:323,&quot;href&quot;:&quot;https:\/\/pixabay.com\/users\/clker-free-vector-images-3736\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=29630&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260115073407\/https:\/\/pixabay.com\/users\/clker-free-vector-images-3736\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 14:00:12&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-10 19:07:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-23 23:08:55&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-04 05:21:19&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-10 00:23:08&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-03 02:00:47&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-06 22:41:51&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-18 00:49:33&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 00:49:33&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:324,&quot;href&quot;:&quot;https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=29630&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:325,&quot;href&quot;:&quot;https:\/\/oeis.org&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260204152645\/https:\/\/oeis.org\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 14:00:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 19:07:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-23 23:08:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 05:21:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 00:23:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 02:00:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 22:42:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-18 00:49:34&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 00:49:34&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:326,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/Electron_shell&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260201223847\/https:\/\/en.wikipedia.org\/wiki\/Electron_shell&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 14:00:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 19:07:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-23 23:08:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 05:21:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 00:23:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 02:00:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 22:41:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-18 00:49:34&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-18 00:49:34&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'></div>
<figure id="attachment_2043" aria-describedby="caption-attachment-2043" style="width: 300px" class="wp-caption alignleft"><img fetchpriority="high" decoding="async" class="size-medium wp-image-2043" src="https://learncgames.com/wp-content/uploads/2020/12/chessboard-29630_640-300x300.png" alt="Chess Set" width="300" height="300" srcset="https://learncgames.com/wp-content/uploads/2020/12/chessboard-29630_640-300x300.png 300w, https://learncgames.com/wp-content/uploads/2020/12/chessboard-29630_640-150x150.png 150w, https://learncgames.com/wp-content/uploads/2020/12/chessboard-29630_640.png 640w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-2043" class="wp-caption-text">Image by <a href="https://pixabay.com/users/clker-free-vector-images-3736/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=29630">Clker-Free-Vector-Images</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=29630">Pixabay</a></figcaption></figure>
<p>Here&#8217;s an interesting puzzle (<em>well for some people</em>). If I have the integers 4,5,6,7 and 8 and a special C function f so that f(4)=2, f(5) = 5, f(6)=10, f(7)=40 and f(8) = 92. What is the function f? And no it&#8217;s not a simple array containing the numbers 2,5,10,40,92 at positions 4-8!</p>
<p>I also checked the <a title="Link to Online Encyclopedia of Online sequences" href="https://oeis.org/" target="_blank" rel="nofollow noopener noreferrer">OEIS</a> (<em>Online Encyclopaedia of Integer sequences</em>) and it&#8217;s not in there either. Years ago I was fooled by a integer sequence that was the maximum number of electrons in <a title="Link to Wikipedia on Electron Shells" href="https://en.wikipedia.org/wiki/Electron_shell" target="_blank" rel="nofollow noopener noreferrer">orbital shells</a> but its definitely not that.</p>
<p>Here&#8217;s a minor clue. It is game related. Answer in a day or two.</p>The post <a href="https://learncgames.com/interesting-number-sequence/">Interesting number sequence</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2042</post-id>	</item>
	</channel>
</rss>
