Math art #5: The sound of integer sequences by mathowl

View this thread on steempeak.com
· @mathowl · (edited)
$76.86
Math art #5: The sound of integer sequences
*A few weeks ago I came across a muscial sub-page of [The On-Line Encyclopedia of Integer Sequences](http://oeis.org/) (or OEIS for short) which contains a number integer sequences converted to music. I thought it would be cool to write a short post about the underlying idea and generate some mathematical music:* 


I will directly kick off with the mathematical music I made:

<center>
<a href='https://d.tube/#!/v/mathowl/mka81ufw'><img src='https://steemitimages.com/0x0/https://ipfs.io/ipfs/Qmaard2bhjA71yJS7fMpGzKN6FxAGySDp1yVPjrqrczKc8'></a>
</center>



##  Integer sequences

The music was made by converting mathematical integer sequences to sound. An integer is a whole number and a sequence is just a collection of enumerated objects which means that there is a first, second, third etc. object. So an integer sequence is a collection of enumerated integers. Sequence are usually  denoted using braces and commas, for example {5,10,3} is sequence with first element 5, second element 10 and third element 3.

Sequence don't have to have to consist out of finite numbers. For example, the fibonacci sequence has infinite elements. The fibonacci sequence is also an example of a sequence where the next element in the sequence is determined by the previous elements. More specifically, a number in the sequence (after the first two numbers) is determined by the two numbers that appear before it. Not all sequences are of this type. For example, you can turn π into a sequence by turning its decimals into a sequence, so like this {3,1,4,5,9, .... }. If I would only give you the first few numbers of this sequence without telling that it is connected to π  it would be difficult to guess what the next number should be.

## Converting integer sequences to sound

How can you convert integer sequence to sound?   Here is one way of doing it:


<center>
![bitmap.png](https://cdn.steemitimages.com/DQmbaF67BYhMigAnSwyXLHAGSLE4WmN5MSy65osBhcDFBbV/bitmap.png)
</center>

In the above picture I identified a number with a white key on the piano. Here 0 is the so-called middle C of the piano. From there on I just number the keys in ascending order. The problem here is that if you start numbering the piano keys you will at some point run out of keys to number so when that happens I will just return to the middle C. A normal piano  has 35 keys from the middle C  which means that the number 36 corresponds to the same tone as 0 which is the middle C again. That is all there is to it :)

## Some interesting things to notice from the music 

For two of these integer sequence you can hear something interesting happening:

- Prime numbers: You can hear the music intervals between the tones increasing over time. This is connected to the theory on so-called Prime-Gaps [1]. 
- Fibonacci numbers: It repeats itself. This is because of special type of periods occuring in the Fibonacci sequence which are called Pisano periods[2]. 

<hr> 

### References

[1] Prime gaps. http://mathworld.wolfram.com/PrimeGaps.html
[2] Pisano periods. http://mathworld.wolfram.com/PisanoPeriod.html

<hr />
<hr />
<p><strong>All images made with <a href="https://inkscape.org/en/" rel="noopener" title="This link will take you away from steemit.com">inkscape</a>.  It is free! The video was made using  <a href="https://www.openshot.org/" rel="noopener" title="This link will take you away from steemit.com">OpenShot</a></strong></p>
<hr />
<center>
<h2> Merchandise :D </h2><br />
</center>
<p><img src="https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmdwbunfcePxAncstQN21fDefS97B3ofRrAABmi29zD26B/g7592-1-9.png" alt="2018-06-07 (2).png" /><br />
There is a  <a href="https://www.redbubble.com/people/MathOwl/shop" rel="noopener" title="This link will take you away from steemit.com">MathOwl shop</a> which sells my artsy fartsy stuff. If you got some spare money head over there. You can learn about the colors of pi over here <a href="https://steemit.com/mathematics/@mathowl/math-art-4-the-colors-of-p">here</a>.  I also have really cheap stuff available like these <a href="https://www.redbubble.com/people/mathowl/shop/stickers?accordion=product&amp;cat_context=u-stationery&amp;ref=artist_shop_product_refinement&amp;asc=u" rel="noopener" title="This link will take you away from steemit.com">stickers</a> They are an absolute hoot.</p>
<hr /> 
<hr /> 
<p></p><h3><center>Join <a href="/trending/steemstem"> #steemSTEM</a></center></h3>
<p><a href="/trending/steemstem">#steemSTEM</a> is a community project with the goal to promote and support Science, Technology, Engineering and Mathematics related content and activities on the STEEM blockchain. If you wish to support the <a href="/trending/steemstem"> #steemSTEM</a> project you can: <strong>Contribute STEM content using the <a href="/trending/steemstem"> #steemstem</a> tag | Support steemstem authors | Join our curation trail | Join our <a href="https://discord.gg/mKSKQ7T" rel="noopener" title="This link will take you away from steemit.com">Discord community</a> | Delegate SP to steemstem</strong></p>
<h4><center>Convenient Delegation Links:</center></h4>
<p><strong><center> <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=101913.0159%20VESTS" rel="noopener" title="This link will take you away from steemit.com">50 SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=203826.0318%20VESTS" rel="noopener" title="This link will take you away from steemit.com">100SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=1019130.1592%20VESTS" rel="noopener" title="This link will take you away from steemit.com">500SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=2038258.3074%20VESTS" rel="noopener" title="This link will take you away from steemit.com">1000SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=10191291.5921%20VESTS" rel="noopener" title="This link will take you away from steemit.com">5000SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=20382581.1841%20VESTS" rel="noopener" title="This link will take you away from steemit.com">10000SP</a> | <a href="https://steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=steemstem&amp;vesting_shares=101912901.9206%20VESTS" rel="noopener" title="This link will take you away from steemit.com">50000SP</a> </center></strong><br />
<center><img src="https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmYSEjNhZDkm4FQPsnPgBdLszb82txzj4fNtKh2Bhb5uiU/banner.png" /></center><center>Image courtesy: <a href="https://steemit.com/@mathowl">Me ;) </a></center></p><div></div></div></div></div></span>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 117 others
👎  ,
properties (23)
post_id56,325,027
authormathowl
permlinkmath-art-5-the-sound-of-integer-sequences
categorymathematics
json_metadata{"app":"steemit\/0.1","links":["http:\/\/oeis.org\/","https:\/\/d.tube\/#!\/v\/mathowl\/mka81ufw","http:\/\/mathworld.wolfram.com\/PrimeGaps.html","http:\/\/mathworld.wolfram.com\/PisanoPeriod.html","https:\/\/inkscape.org\/en\/","https:\/\/www.openshot.org\/","https:\/\/www.redbubble.com\/people\/MathOwl\/shop","https:\/\/steemit.com\/mathematics\/@mathowl\/math-art-4-the-colors-of-p","https:\/\/www.redbubble.com\/people\/mathowl\/shop\/stickers?accordion=product&cat_context=u-stationery&ref=artist_shop_product_refinement&asc=u","\/trending\/steemstem","https:\/\/discord.gg\/mKSKQ7T","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=101913.0159%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=203826.0318%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=1019130.1592%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=2038258.3074%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=10191291.5921%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=20382581.1841%20VESTS","https:\/\/steemconnect.com\/sign\/delegateVestingShares?delegator=&delegatee=steemstem&vesting_shares=101912901.9206%20VESTS","https:\/\/steemit.com\/@mathowl"],"format":"markdown","tags":["mathematics","steemstem","maths","music"],"image":["https:\/\/steemitimages.com\/0x0\/https:\/\/ipfs.io\/ipfs\/Qmaard2bhjA71yJS7fMpGzKN6FxAGySDp1yVPjrqrczKc8"]}
created2018-07-12 16:46:00
last_update2018-07-12 20:07:21
depth0
children10
net_rshares33,689,583,110,947
last_payout2018-07-19 16:46:00
cashout_time1969-12-31 23:59:59
total_payout_value58.236 SBD
curator_payout_value18.621 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length6,981
author_reputation26,709,555,875,589
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (183)
@erudire ·
fossbot voter comment
Free Upvotes
![cooltext292615989443333.png](https://cdn.steemitimages.com/DQmQdpWst8SmUU11UdgFDhzcoKX4mf9zEKSAB8CYTZTVZaA/cooltext292615989443333.png)
ENJOY !
http://toolsfree.info/votes/
👎  ,
properties (23)
post_id56,325,774
authorerudire
permlinkre-mathowl-math-art-5-the-sound-of-integer-sequences-20180712t165520401z
categorymathematics
json_metadata{}
created2018-07-12 16:55:21
last_update2018-07-12 16:55:21
depth1
children0
net_rshares-157,433,664,159
last_payout2018-07-19 16:55:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length190
author_reputation-4,398,791,055,950
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@guard ·
WARNING! The comment below by @erudire leads to a known phishing site that could steal your account. 
Do not open links from users you do not trust. Do not provide your private keys to any third party websites.
👍  
properties (23)
post_id56,325,784
authorguard
permlinkguard-re-mathowlmath-art-5-the-sound-of-integer-sequences
categorymathematics
json_metadata{}
created2018-07-12 16:55:27
last_update2018-07-12 16:55:27
depth1
children0
net_rshares414,935,866
last_payout2018-07-19 16:55:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length210
author_reputation569,581,081,073
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@arcange ·
**WARNING** - The message you received from @erudire is a **CONFIRMED SCAM**!
**DO NOT FOLLOW** any instruction and **DO NOT CLICK** on any link in the comment!

For more information about this scam, read this post:
https://steemit.com/steemit/@arcange/phishing-site-reported-steem-link-premium

If you find my work to protect you and the community valuable, please consider to upvote this warning or to [vote for my witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=arcange&approve=1).
properties (22)
post_id56,325,932
authorarcange
permlinkre-math-art-5-the-sound-of-integer-sequences-20180712t185708000z
categorymathematics
json_metadata{"image":["http:\/\/i.cubeupload.com\/d1Dr28.png"]}
created2018-07-12 16:57:06
last_update2018-07-12 16:57:06
depth1
children0
net_rshares0
last_payout2018-07-19 16:57:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length513
author_reputation231,443,210,169,699
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @mathowl! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@mathowl) Award for the number of upvotes

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the last post from @steemitboard:**
[SteemitBoard World Cup Contest - Home stretch to the finals. Do not miss them!](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-home-stretch-to-the-finals-do-not-miss-them)

---
**Participate in the [SteemitBoard World Cup Contest](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-collect-badges-and-win-free-sbd)!**
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: [@good-karma](https://v2.steemconnect.com/sign/account-witness-vote?witness=good-karma&approve=1) and [@lukestokes](https://v2.steemconnect.com/sign/account-witness-vote?witness=lukestokes.mhth&approve=1)

---

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
post_id56,438,023
authorsteemitboard
permlinksteemitboard-notify-mathowl-20180713t165411000z
categorymathematics
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2018-07-13 16:54:09
last_update2018-07-13 16:54:09
depth1
children0
net_rshares0
last_payout2018-07-20 16:54:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,390
author_reputation38,705,954,145,809
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@minnowsupport ·
<p>Congratulations!  This post has been upvoted from the communal account, @minnowsupport, by mathowl from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows.  Please find us at the <a href="https://discord.gg/HYj4yvw"> Peace, Abundance, and Liberty Network (PALnet) Discord Channel</a>.  It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.</p> <p>If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=102530.639667%20VESTS">50SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=205303.639667%20VESTS">100SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=514303.639667%20VESTS">250SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=1025303.639667%20VESTS">500SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=2053030.639667%20VESTS">1000SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=10253030.639667%20VESTS">5000SP</a>. <br><strong>Be sure to leave at least 50SP undelegated on your account.</strong></p>
properties (22)
post_id56,455,436
authorminnowsupport
permlinkre-math-art-5-the-sound-of-integer-sequences-20180713t201949z
categorymathematics
json_metadata{"app":"beem\/0.19.43"}
created2018-07-13 20:19:48
last_update2018-07-13 20:19:48
depth1
children0
net_rshares0
last_payout2018-07-20 20:19:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,703
author_reputation104,981,098,086,561
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemstem ·
post_voted_by
<center> https://cdn.discordapp.com/attachments/354723995037466624/463380522928963599/steemSTEM.png</center> <br><br> This post has been voted on by the steemstem curation team and voting trail.  <br> <br>There is more to SteemSTEM than just writing posts, check <a href="https://steemit.com/steemstem/@steemstem/being-a-member-of-the-steemstem-community">here</a> for some more tips on being a community member. You can also join our discord <a href="https://discord.gg/BPARaqn">here</a> to get to know the rest of the community!
👍  
properties (23)
post_id56,539,370
authorsteemstem
permlinkre-math-art-5-the-sound-of-integer-sequences-20180714t171357
categorymathematics
json_metadata{}
created2018-07-14 17:13:57
last_update2018-07-14 17:13:57
depth1
children0
net_rshares4,670,714,268
last_payout2018-07-21 17:13:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length530
author_reputation229,673,617,633,863
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@utopian-io ·
#### Hi @mathowl!

Your post was upvoted by utopian.io in cooperation with steemstem - supporting knowledge, innovation and technological advancement on the Steem Blockchain.

#### Contribute to Open Source with utopian.io
Learn how to contribute on <a href="https://join.utopian.io">our website</a> and join the new open source economy.

**Want to chat? Join the Utopian Community on Discord https://discord.gg/h52nFrV**
👍  
properties (23)
post_id56,543,756
authorutopian-io
permlink20180714t180825302z
categorymathematics
json_metadata{"tags":["utopian.tip"],"app":"utopian-io"}
created2018-07-14 18:08:27
last_update2018-07-14 18:08:27
depth1
children0
net_rshares5,838,392,836
last_payout2018-07-21 18:08:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length421
author_reputation152,913,012,544,965
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@andrulian ·
$0.04
Thanks for a really interesting article. I guess by sticking to the c maj scale notes it could sound more musical, the sequences could create modes or unusual melodies. If you introduce the sharp / flat notes you could create some interesting hybrid scales but also introduce dissonance. I like using randomisation in music, doesn't always work but can produce unusual results
👍  
properties (23)
post_id56,601,486
authorandrulian
permlinkre-mathowl-math-art-5-the-sound-of-integer-sequences-20180715t093322129z
categorymathematics
json_metadata{"tags":["mathematics"],"app":"steemit\/0.1"}
created2018-07-15 09:33:18
last_update2018-07-15 09:33:18
depth1
children1
net_rshares17,938,132,754
last_payout2018-07-22 09:33:18
cashout_time1969-12-31 23:59:59
total_payout_value0.028 SBD
curator_payout_value0.008 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length376
author_reputation3,449,671,794
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@mathowl ·
Thanks for the support. 

It is not too hard to write a program which implements in the same idea for a given scale. In addition, you can also automatise an accompaniement for the chosen scale. :)
properties (22)
post_id56,620,706
authormathowl
permlinkre-andrulian-re-mathowl-math-art-5-the-sound-of-integer-sequences-20180715t135130958z
categorymathematics
json_metadata{"app":"steemit\/0.1","tags":["mathematics"]}
created2018-07-15 13:51:30
last_update2018-07-15 13:51:30
depth2
children0
net_rshares0
last_payout2018-07-22 13:51:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length196
author_reputation26,709,555,875,589
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@volareo ·
Love it! Well done!

[![blog steemit banner.png](https://cdn.steemitimages.com/DQmPJcEDBK6yLNzMsJMD2G9hExZdQtcYofJW2BTHBtzgCbh/blog%20steemit%20banner.png)](https://volareo.live)
properties (22)
post_id56,947,082
authorvolareo
permlinkre-mathowl-math-art-5-the-sound-of-integer-sequences-20180718t144352053z
categorymathematics
json_metadata{"app":"steemit\/0.1","links":["https:\/\/volareo.live"],"tags":["mathematics"],"image":["https:\/\/cdn.steemitimages.com\/DQmPJcEDBK6yLNzMsJMD2G9hExZdQtcYofJW2BTHBtzgCbh\/blog%20steemit%20banner.png"]}
created2018-07-18 14:43:51
last_update2018-07-18 14:43:51
depth1
children0
net_rshares0
last_payout2018-07-25 14:43:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length178
author_reputation4,922,913,696,391
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@mathowl ·
There are some issues with Dtube so I also uploaded it to youtube -> Apparently, the Dtube video is not working. So I also uploaded it to youtube ->
properties (22)
post_id57,151,166
authormathowl
permlinkre-mathowl-math-art-5-the-sound-of-integer-sequences-20180720t105936431z
categorymathematics
json_metadata{"app":"steemit\/0.1","tags":["mathematics"]}
created2018-07-20 10:59:39
last_update2018-07-20 10:59:39
depth1
children0
net_rshares0
last_payout2018-07-27 10:59:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length148
author_reputation26,709,555,875,589
root_title"Math art #5: The sound of integer sequences"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000