<div class="text-justify">  Inspired by Alex Bellos, who presented clever illustration of Recamán's Sequence in recent video from Numberphile, I decided to implement this sequence in MATLAB/GNU Octave enviroment and get some other views of this sequence. And, what is the most important - get much more terms and see how they looks like. The general idea of Recamán's Sequence is substracting the present index of the sequence from previous term every time we can do this so the result is over than zero. And second condition: the result have to be new term in the sequence, terms cannot be repeated. In other cases we define new term by adding present index, not substracting. Let’s see how it looks like in math expression:  As you can see, it is not difficult to express. Using this formulas, we can generate the Recamán's Sequence, and its first few terms are: 0, 1, 3, 6, 2, 7, 13, 20, 12, 21, 11, 22, 10, … On first sight, it is hard to see something alluring in this sequence. Just some numbers. But the beauty of mathematics lies in expressing apparent universality in many ways. Some of them are very interesting. Like this one. Let’s draw some graphs. <center>*Bar graph of 3500 terms in the sequence*</center> <hr>  <center>*Circle graph of 32 terms in the sequence in black color*</center> <hr>  <center>*Colorized*</center> <hr> <center>*Circle graph of 100 terms in the sequence, colorized*</center> <hr> <center>*Circle graph of 32 terms in the sequence, colorized (the cartesian coordinates are transformed into polar)*</center> <hr> <center>*Circle graph of 100 terms in the sequence, colorized (plot window is blocked by arbitrary values)*</center> <hr> If we use semicircles to link neighboring terms of the sequence and we assume that we change angle from 0 to π and from π to 2π alternately, we can get such pictures. Radius of each circle is of course related to terms and it is present term minus previous term divided by 2. As we can see, in maths we can find the element of beauty. </div>
author | romualdd |
---|---|
permlink | some-variations-of-recaman-s-sequence |
category | steemstem |
json_metadata | {"tags":["steemstem","maths","mathematics","science","numbers"],"image":["https://cdn.steemitimages.com/DQmYCxPBJfDu3kNdtnxa2tckfswt9TpHh7a1pyTXmA6ur3P/untitled.png","https://cdn.steemitimages.com/DQmTSx4AhRTnV2VzupVWXVSPxCd1hxjhTEKCxX3HwcfRUN3/sequence.PNG","https://cdn.steemitimages.com/DQmd9ZdMxA5DxQTNroUNUehUKPQiQb4F9J2X5NmWKeXsySK/bargraph1.png","https://cdn.steemitimages.com/DQmWhBv3iyhuAGqeA3tdbRWhqHvcDbp571a4zbf2eqkbUe7/black1.png","https://cdn.steemitimages.com/DQma54iWT8A7qPd4xthSdDuvkQRsWz3mwH1jWCYHSPzx2Sf/color1.png","https://cdn.steemitimages.com/DQmS3whbXk874BeN6r46gEMKSETqfk2HQiAUFvZDz6vSSw8/100color.png","https://cdn.steemitimages.com/DQmc4QCgXPaXpXuHRRytwveJsA7j6vGYssr7NHUiJiUAbre/cart2pcolor.png","https://cdn.steemitimages.com/DQmNMSGu3fLXrBRxhDwiUuTZ3gXPjrJ4YW2R87W1etUMM1v/100colorblocked.png"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-06-20 21:08:57 |
last_update | 2018-06-20 21:44:12 |
depth | 0 |
children | 7 |
last_payout | 2018-06-27 21:08:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 5.166 HBD |
curator_payout_value | 1.638 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,918 |
author_reputation | 13,652,074,114,198 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,546,236 |
net_rshares | 3,334,850,370,891 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
lafona-miner | 0 | 210,487,801,474 | 5% | ||
kevinwong | 0 | 76,825,668,695 | 0.75% | ||
justtryme90 | 0 | 113,814,982,527 | 5% | ||
arconite | 0 | 301,814,107 | 0.37% | ||
lemouth | 0 | 23,400,551,235 | 5% | ||
rjbauer85 | 0 | 309,266,112 | 5% | ||
anarchyhasnogods | 0 | 10,442,532,103 | 3% | ||
lamouthe | 0 | 1,482,151,817 | 5% | ||
steemstem | 0 | 145,959,614,324 | 5% | ||
foundation | 0 | 692,806,899 | 5% | ||
the-devil | 0 | 657,527,259 | 5% | ||
thevenusproject | 0 | 2,814,165,348 | 5% | ||
borislavzlatanov | 0 | 430,777,429 | 5% | ||
ocisly | 0 | 8,754,596,347 | 100% | ||
kryzsec | 0 | 3,060,653,741 | 5% | ||
mys | 0 | 2,084,336,126 | 2% | ||
jakipatryk | 0 | 57,635,497,773 | 100% | ||
fredrikaa | 0 | 13,444,300,041 | 5% | ||
aditor | 0 | 4,564,618,806 | 100% | ||
dber | 0 | 1,037,942,457 | 5% | ||
mahdiyari | 0 | 3,196,948,397 | 2.5% | ||
kerriknox | 0 | 5,241,130,670 | 5% | ||
alexander.alexis | 0 | 626,769,709 | 2% | ||
saunter | 0 | 32,052,491,726 | 98% | ||
ertwro | 0 | 2,073,641,227 | 5% | ||
juanjdiaz89 | 0 | 57,356,548 | 5% | ||
nitesh9 | 0 | 1,255,422,675 | 5% | ||
fancybrothers | 0 | 763,363,692 | 1.5% | ||
churchboy | 0 | 899,854,275 | 5% | ||
rafalski | 0 | 16,506,982,439 | 75% | ||
nicniezgrublem | 0 | 25,424,308,400 | 100% | ||
howo | 0 | 4,818,768,354 | 2.5% | ||
himal | 0 | 385,451,605 | 5% | ||
abigail-dantes | 0 | 86,102,102,512 | 5% | ||
suravsingh | 0 | 66,295,647 | 5% | ||
planetenamek | 0 | 144,167,666 | 0.25% | ||
alexzicky | 0 | 814,663,990 | 1.25% | ||
mountain.phil28 | 0 | 3,605,815,384 | 25% | ||
akeelsingh | 0 | 209,418,421 | 5% | ||
mountainwashere | 0 | 2,212,701,996 | 5% | ||
zest | 0 | 1,595,142,133 | 3.5% | ||
felixrodriguez | 0 | 144,287,476 | 2.5% | ||
masterwriter | 0 | 185,209,492 | 5% | ||
laylahsophia | 0 | 1,231,377,061 | 5% | ||
ksolymosi | 0 | 1,194,412,745 | 5% | ||
simplifylife | 0 | 894,820,293 | 2.5% | ||
mayowadavid | 0 | 265,246,192 | 2.5% | ||
zeeshan003 | 0 | 60,698,361 | 5% | ||
enzor | 0 | 85,474,857 | 2.5% | ||
pratik27 | 0 | 199,726,040 | 2.5% | ||
carloserp-2000 | 0 | 1,074,004,105 | 5% | ||
rachelsmantra | 0 | 214,559,082 | 5% | ||
gra | 0 | 1,753,691,764 | 5% | ||
utopian-io | 0 | 2,282,450,644,863 | 1.5% | ||
tfcoates | 0 | 98,423,961 | 1.25% | ||
physics.benjamin | 0 | 103,274,166 | 5% | ||
kenadis | 0 | 1,415,404,642 | 5% | ||
amavi | 0 | 780,859,306 | 1% | ||
florae | 0 | 273,757,722 | 5% | ||
robotics101 | 0 | 231,005,169 | 4% | ||
sco | 0 | 503,182,335 | 1% | ||
adetola | 0 | 362,404,143 | 5% | ||
rharphelle | 0 | 1,088,067,666 | 25% | ||
dysfunctional | 0 | 274,841,542 | 2.5% | ||
monie | 0 | 444,009,566 | 100% | ||
shoganaii | 0 | 223,760,890 | 2.5% | ||
kryptojanusz | 0 | 19,039,268,951 | 99% | ||
mathowl | 0 | 11,910,886,476 | 100% | ||
whileponderin | 0 | 420,391,434 | 5% | ||
technocracy | 0 | 4,790,146,874 | 100% | ||
mittymartz | 0 | 98,691,305 | 5% | ||
hallmann | 0 | 37,136,790,839 | 88% | ||
santarius | 0 | 19,431,588,962 | 100% | ||
hadji | 0 | 203,358,276 | 5% | ||
sakura1012 | 0 | 202,940,794 | 5% | ||
acronyms | 0 | 876,471,295 | 100% | ||
didymos | 0 | 1,540,105,402 | 100% | ||
terrylovejoy | 0 | 1,273,650,557 | 2.5% | ||
saunter-pl | 0 | 104,080,174 | 5% | ||
olajidekehinde | 0 | 75,182,097 | 2.5% | ||
fundacja | 0 | 12,874,580,690 | 100% | ||
steepup | 0 | 76,123,687 | 2% | ||
lesshorrible | 0 | 941,383,419 | 5% | ||
steem-hikers | 0 | 94,217,411 | 5% | ||
deutsch-boost | 0 | 421,042,620 | 20% | ||
kingabesh | 0 | 137,675,810 | 2.5% | ||
kelos | 0 | 458,945,427 | 10% | ||
dexterdev | 0 | 488,575,800 | 5% | ||
ugonma | 0 | 232,533,402 | 5% | ||
teekingtv | 0 | 2,685,172,298 | 100% | ||
alexdory | 0 | 2,330,048,816 | 5% | ||
lianaakobian | 0 | 1,081,071,694 | 4% | ||
dutmistrz | 0 | 3,378,634,673 | 100% | ||
joelagbo | 0 | 123,190,525 | 5% | ||
spederson | 0 | 113,240,524 | 4.5% | ||
cryptoitaly | 0 | 240,837,323 | 2.5% | ||
effofex | 0 | 153,127,552 | 2.5% | ||
mrbreeziewrites | 0 | 271,736,437 | 5% | ||
de-stem | 0 | 2,124,821,733 | 4.5% | ||
derbesserwisser | 0 | 17,728,676,738 | 100% | ||
serylt | 0 | 821,291,297 | 4% | ||
yann85 | 0 | 396,192,181 | 12% | ||
event-horizon | 0 | 50,517,276 | 5% | ||
santarius2 | 0 | 679,583,874 | 100% | ||
chloroform | 0 | 821,877,473 | 5% | ||
glodniwiedzy | 0 | 17,307,206,258 | 100% | ||
vanessahampton | 0 | 301,945,810 | 2.5% | ||
albatar | 0 | 232,606,337 | 25% | ||
temitayo-pelumi | 0 | 282,251,294 | 5% | ||
doctor-cog-diss | 0 | 310,014,778 | 100% | ||
star-vc | 0 | 121,271,286 | 5% | ||
tbexpert | 0 | 624,788,920 | 100% | ||
biomimi | 0 | 208,030,022 | 40% | ||
freakout-pl | 0 | 103,985,943 | 100% | ||
astrophoto.kevin | 0 | 429,806,937 | 2.5% | ||
xara | 0 | 626,328,967 | 100% | ||
skryptorium | 0 | 859,177,959 | 100% | ||
silmarillion | 0 | 496,367,011 | 100% | ||
okiemzwierzaka | 0 | 617,305,564 | 100% | ||
mr-hades | 0 | 563,605,311 | 100% | ||
minnowboostter | 0 | 609,645,149 | 100% | ||
bithumbb.hot | 0 | 588,290,452 | 100% | ||
alph | 0 | 609,627,411 | 100% | ||
deepcrtpto8 | 0 | 609,607,757 | 100% | ||
muupbit | 0 | 609,607,757 | 100% | ||
up-quark | 0 | 1,102,702,327 | 5% | ||
biendanstoncul | 0 | 0 | -100% |
Upvote this for me please? https://steemit.com/christianity/@bible.com/verse-of-the-day-hebrews-4-16-nlt
author | a-a-a |
---|---|
permlink | re-romualdd-some-variations-of-recaman-s-sequence-20180620t210927141z |
category | steemstem |
json_metadata | {"tags":["steemstem"],"links":["https://steemit.com/christianity/@bible.com/verse-of-the-day-hebrews-4-16-nlt"],"app":"steemit/0.1"} |
created | 2018-06-20 21:09:30 |
last_update | 2018-06-20 21:09:30 |
depth | 1 |
children | 0 |
last_payout | 2018-06-27 21:09:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 104 |
author_reputation | -3,087,833,994,273 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,546,302 |
net_rshares | 0 |
Really love your computer generated images of the sequence. Recently there was a numberphile video about the Recamán sequence. -> https://www.youtube.com/watch?v=FGC5TdIiT9U&t=492s Besides a visual representation a pretty neat way of thinking about it is terms of notes on a keyboard. The above video also contains a sound bite of the sequence :)
author | mathowl |
---|---|
permlink | re-romualdd-some-variations-of-recaman-s-sequence-20180622t142450259z |
category | steemstem |
json_metadata | {"tags":["steemstem"],"image":["https://img.youtube.com/vi/FGC5TdIiT9U/0.jpg"],"links":["https://www.youtube.com/watch?v=FGC5TdIiT9U&t=492s"],"app":"steemit/0.1"} |
created | 2018-06-22 14:24:48 |
last_update | 2018-06-22 14:24:48 |
depth | 1 |
children | 1 |
last_payout | 2018-06-29 14:24:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 350 |
author_reputation | 44,993,635,814,620 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,779,563 |
net_rshares | 668,339,110 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
romualdd | 0 | 668,339,110 | 100% |
Thank you very much! I saw this video from Numberphile and it was my main inspiration to do some numerical experiments. Music is not far from math really and this video is excellent example :)
author | romualdd |
---|---|
permlink | re-mathowl-re-romualdd-some-variations-of-recaman-s-sequence-20180622t163249244z |
category | steemstem |
json_metadata | {"tags":["steemstem"],"app":"steemit/0.1"} |
created | 2018-06-22 16:32:51 |
last_update | 2018-06-22 16:32:51 |
depth | 2 |
children | 0 |
last_payout | 2018-06-29 16:32:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 192 |
author_reputation | 13,652,074,114,198 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,794,655 |
net_rshares | 0 |
Congratulations @romualdd! You have completed some achievement on Steemit and have been rewarded with new badge(s) : [](http://steemitboard.com/@romualdd) 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](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-serbia-vs-brazil) from @steemitboard!** --- **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**!
author | steemitboard |
---|---|
permlink | steemitboard-notify-romualdd-20180626t211150000z |
category | steemstem |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2018-06-26 21:11:48 |
last_update | 2018-06-26 21:11:48 |
depth | 1 |
children | 0 |
last_payout | 2018-07-03 21:11:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,277 |
author_reputation | 38,975,615,169,260 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 62,397,887 |
net_rshares | 0 |
Mathematics look like magic to me... Yes, because I am not really into it. Good post from @romualdd. --- **I am @teekingtv and I write STEM.**
author | teekingtv |
---|---|
permlink | re-romualdd-some-variations-of-recaman-s-sequence-20180622t143653388z |
category | steemstem |
json_metadata | {"tags":["steemstem"],"users":["romualdd","teekingtv"],"app":"steemit/0.1"} |
created | 2018-06-22 14:37:03 |
last_update | 2018-06-22 14:37:03 |
depth | 1 |
children | 1 |
last_payout | 2018-06-29 14:37:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 146 |
author_reputation | 68,052,651,881,740 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,781,085 |
net_rshares | 661,377,245 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
romualdd | 0 | 661,377,245 | 100% |
Thanks! I will try to present other mathematical problems in simple way :)
author | romualdd |
---|---|
permlink | re-teekingtv-re-romualdd-some-variations-of-recaman-s-sequence-20180622t173916225z |
category | steemstem |
json_metadata | {"tags":["steemstem"],"app":"steemit/0.1"} |
created | 2018-06-22 17:39:18 |
last_update | 2018-06-22 17:39:18 |
depth | 2 |
children | 0 |
last_payout | 2018-06-29 17:39:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 74 |
author_reputation | 13,652,074,114,198 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,802,031 |
net_rshares | 0 |
#### Hi @romualdd! 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**
author | utopian-io |
---|---|
permlink | 20180622t142530355z |
category | steemstem |
json_metadata | {"tags":["utopian.tip"],"app":"utopian-io"} |
created | 2018-06-22 14:25:30 |
last_update | 2018-06-22 14:25:30 |
depth | 1 |
children | 0 |
last_payout | 2018-06-29 14:25:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 422 |
author_reputation | 152,955,367,999,756 |
root_title | "Some variations of Recamán's Sequence" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,779,653 |
net_rshares | 0 |