CINXE.COM

Plot pairs of sequences in the OEIS

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <link rel="stylesheet" href="/styles.css"> <meta name="format-detection" content="telephone=no"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name=viewport content="width=device-width, initial-scale=1"> <meta name="keywords" content="OEIS,integer sequences,Sloane" /> <title>Plot pairs of sequences in the OEIS</title> <link rel="search" type="application/opensearchdescription+xml" title="OEIS" href="/oeis.xml"> <script> var myURL = "\/plot2.html" function redir() { var host = document.location.hostname; if(host != "oeis.org" && host != "127.0.0.1" && !/^([0-9.]+)$/.test(host) && host != "localhost" && host != "localhost.localdomain") { document.location = "https"+":"+"//"+"oeis"+".org/" + myURL; } } function sf() { if(document.location.pathname == "/" && document.f) document.f.q.focus(); } </script> </head> <body bgcolor=#ffffff onload="redir();sf()"> <div class=loginbar> <div class=login> <a href="/login?redirect=%2fplot2.html">login</a> </div> </div> <div class=center><div class=top> <center> <div class=donors> The OEIS is supported by <a href="http://oeisf.org/#DONATE">the many generous donors to the OEIS Foundation</a>. </div> <div class=banner> <a href="/"><img class=banner border="0" width="600" src="/banner2021.jpg" alt="Plot pairs of sequences in the OEIS"></a> </div> </center> </div></div> <div class=center><div class=pagebody> <div class=searchbarcenter> <form name=f action="/search" method="GET"> <div class=searchbargreet> <div class=searchbar> <div class=searchq> <input class=searchbox maxLength=1024 name=q value="" title="Search Query"> </div> <div class=searchsubmit> <input type=submit value="Search" name=go> </div> <div class=hints> <span class=hints><a href="/hints.html">Hints</a></span> </div> </div> <div class=searchgreet> (Greetings from <a href="/welcome">The On-Line Encyclopedia of Integer Sequences</a>!) </div> </div> </form> </div> <form method=get action="plot2a"> <br> <center> <font size="+2"> Plot pairs of sequences in the OEIS </font> </center> <br> <center> <table width=60%> <tr> <td align=left><b>Sequence 1</b></td> <td align=left><b>Sequence 2</b></td> </tr> <tr> <td align=left><input type="text" name="name1" value="A117154" size="8"></td> <td align=left><input type="text" name="name2" value="A119560" size="8"></td> </tr> <tr> <td><select name="tform1"> <option selected>untransformed</option> <option>absolute value</option> <option>log base 10</option> <option>asinh</option> </select> </td> <td><select name="tform2"> <option selected>untransformed</option> <option>absolute value</option> <option>log base 10</option> <option>asinh</option> </select> </td> </tr> <tr> <td></td> <td>Shift &nbsp; <input type="text" name="shift" value="0" size="3"></td> </tr> <tr> <td colspan=2>Note: When taking logarithms, sequence values will be adjusted as needed.</td> </tr> <tr><td colspan=2>&nbsp;</td></tr> <tr><td> <table> <tr><td><b>Contents of Plot</b></td></tr> <tr> <td><input type="radio" name="radiop1" value="xy" checked > Plot Seq2(n+<em>shift</em>) vs Seq1(n) </td> </tr> <tr> <td><input type="radio" name="radiop1" value="matp"> Plot Seq2(n+<em>shift</em>) vs n and Seq1(n) vs n </td> </tr> <tr> <td><input type="radio" name="radiop1" value="ratio">Plot Seq1(n)/Seq2(n+<em>shift</em>) vs n</td> </tr> <tr> <td colspan=2>Note: When plotting the ratio of two sequences, the ratio will be transformed using the choice for Seq1(n). </td> </tr> </table> </td> <td valign=top> <table> <tr><td><b>Appearance of Plot</b></td></tr> <tr> <td><input type="checkbox" name="drawpoints" value="true" checked>Draw points</td> </tr> <tr> <td nowrap><input type="checkbox" name="drawlines" value="true">Draw line segments</td> </tr> </table> </td></tr> </table> <br> <input type=submit value=" Generate plot "> <input type=reset value=" Reset options "> </center> </form> <hr> Sample pairs of sequences to plot: <ul> <li>X-coordinates plotted against Y-coordinates for certain problems (Suggested by Peter Kagey)</li> <ul> <li><a href="https://oeis.org/plot2a?name1=A297346&name2=A297347&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true" class="">A297346 vs A297347 (Babylonian spiral)</a></li> <li><a href="https://oeis.org/plot2a?name1=A293772&name2=A293773&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true" class="">A293772 vs A293773 (A nice construction of R&eacute;my Sigrist)</a></li> <li><a href="https://oeis.org/plot2a?name1=A274369&name2=A274370&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true" class="">A274369 vs A274370 (Langton's ant)</a></li> <li><a href="https://oeis.org/plot2a?name1=A233380&name2=A233381&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true" class="">A233380 vs A233381 (Greedy brick tiling)</a></li> <li><a href="https://oeis.org/plot2a?name1=A305575&name2=A305576&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true" class="">A305575 vs A305576 (Sort by (r, theta))</a></li> </ul> <li> Pairwise plots </li> <ul> <li> <a href="plot2a?name1=A119560&name2=A117154&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=xy&drawpoints=true" rel="nofollow">A117154 vs A119560</a> (mathematically obscure but visually interesting - see the link in the latter sequence for more) </li> <li> <a href="plot2a?name1=A000040&name2=A119560&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=xy&drawpoints=true&drawlines=true" rel="nofollow">A119560 vs A000040</a> </li> <li> <a href="plot2a?name1=A000040&name2=A004055&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=xy&drawpoints=true&drawlines=true" rel="nofollow">A004055 vs A000040</a> (Suggested by David Wilson) </li> <li> Shifted: <a href="plot2a?name1=A108618&name2=A108618&tform1=no+transformation&tform2=no+transformation&shift=1&radiop1=xy&drawpoints=true" rel="nofollow">A108618(n) vs. A108618(n+1)</a>, untransformed and without line segments, produces a spiral. (Suggested by Creighton Dement.) </li> </ul> <li> Both sequences against n </li> <ul> <li> <a href="plot2a?name1=A2330&name2=A2331&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=matp&drawpoints=true&drawlines=true" rel="nofollow">A002330 and A002331</a>, <a href="plot2a?name1=A2365&name2=A2366&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=matp&drawpoints=true&drawlines=true" rel="nofollow">A002365 and A002366</a>, <a href="plot2a?name1=A76340&name2=A76341&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=matp&drawpoints=true&drawlines=true" rel="nofollow">A076340 and A076341</a>, with line segments. (Suggested by Franklin Adams-Watters.) </li> <li> <a href="plot2a?name1=A7305&name2=A7306&tform1=no+transformation&tform2=no+transformation&shift=0&radiop1=matp&drawpoints=true&drawlines=true" rel="nofollow">A007305 and A007306</a> (Suggested by David Wilson) </li> </ul> <li> Ratios </li> <ul> <li> Bernoulli numbers: <a href="plot2a?name1=A027641&name2=A027642&tform1=log&tform2=log&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow"> log(|A027641/A027642|)</a>, <a href="plot2a?name1=A000367&name2=A002445&tform1=log&tform2=log&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow"> log(|A000367/A002445|)</a>, <a href="plot2a?name1=A050925&name2=A050932&tform1=no+transform&tform2=no+transform&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow">A050925/A050932</a> </li> <li> Convergents to sqrt(2): <a href="plot2a?name1=A001333&name2=A000129&tform1=no+transform&tform2=no+transform&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow">A001333/A000129</a> </li> <li> 1/n!: <a href="plot2a?name1=A000012&name2=A000142&tform1=no+transform&tform2=no+transform&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow">A000012/A000142</a> </li> <li> 1/n: <a href="plot2a?name1=A000012&name2=A000027&tform1=no+transform&tform2=no+transform&shift=0&radiop1=ratio&drawpoints=true&drawlines=true" rel="nofollow">A000012/A000027</a> </li> </ul> </ul> </div></div> <p> <div class=footerpad></div> <div class=footer> <center> <div class=bottom> <div class=linksbar> <a href="/">Lookup</a> <a href="/wiki/Welcome"><font color="red">Welcome</font></a> <a href="/wiki/Main_Page"><font color="red">Wiki</font></a> <a href="/wiki/Special:RequestAccount">Register</a> <a href="/play.html">Music</a> <a href="/plot2.html">Plot 2</a> <a href="/demo1.html">Demos</a> <a href="/wiki/Index_to_OEIS">Index</a> <a href="/webcam">WebCam</a> <a href="/Submit.html">Contribute</a> <a href="/eishelp2.html">Format</a> <a href="/wiki/Style_Sheet">Style Sheet</a> <a href="/transforms.html">Transforms</a> <a href="/ol.html">Superseeker</a> <a href="/recent">Recents</a> </div> <div class=linksbar> <a href="/community.html">The OEIS Community</a> </div> <div class=linksbar> Maintained by <a href="http://oeisf.org">The OEIS Foundation Inc.</a> </div> <div class=dbinfo>Last modified April 9 13:05 EDT 2025. Contains 382624 sequences.</div> <div class=legal> <a href="/wiki/Legal_Documents">License Agreements, Terms of Use, Privacy Policy</a> </div> </div> </center> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10