PTAS reduction: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Helpful Pixie Bot
m ISBNs (Build KE)
 
typo
 
Line 1: Line 1:
'''Tupper's self-referential formula''' is a [[self-reference|self-referential]] [[formula]] defined by [[Jeff Tupper]] that, when graphed in two dimensions, can visually reproduce the formula itself. It is used in various [[mathematics|math]] and [[computer science]] courses as an exercise in graphing formulae.
Irwin Butts is what my spouse enjoys to contact me although I don't truly like being called like that. To collect badges is what her family members and her enjoy. For a while I've been in South Dakota and my parents reside close by. I am a meter reader but I strategy on changing it.<br><br>Feel free to visit my web-site: [http://203.250.78.160/zbxe/?document_srl=817810&mid=gallery over the counter std test]
 
The formula was first published in his 2001 [[SIGGRAPH]] paper that discusses methods related to the [http://www.peda.com/grafeq/ GrafEq] formula-graphing program he developed.
 
The formula is an [[inequality (mathematics)|inequality]] defined by:
 
: <math>{1\over 2} < \left\lfloor \mathrm{mod}\left(\left\lfloor {y \over 17} \right\rfloor 2^{-17 \lfloor x \rfloor - \mathrm{mod}(\lfloor y\rfloor, 17)},2\right)\right\rfloor</math>
 
where <math>\lfloor \cdot \rfloor</math> denotes the [[Floor and ceiling functions|floor function]] and ''mod'' is the [[modulo operation]].
 
Let ''k'' equal the following 543-digit integer:
 
{{quotation|960 939 379 918 958 884 971 672 962 127 852 754 715 004 339 660 129 306 651 505 519 271 702 802 395 266 424 689 642 842 174 350 718 121 267 153 782 770 623 355 993 237 280 874 144 307 891 325 963 941 337 723 487 857 735 749 823 926 629 715 517 173 716 995 165 232 890 538 221 612 403 238 855 866 184 013 235 585 136 048 828 693 337 902 491 454 229 288 667 081 096 184 496 091 705 183 454 067 827 731 551 705 405 381 627 380 967 602 565 625 016 981 482 083 418 783 163 849 115 590 225 610 003 652 351 370 343 874 461 848 378 737 238 198 224 849 863 465 033 159 410 054 974 700 593 138 339 226 497 249 461 751 545 728 366 702 369 745 461 014 655 997 933 798 537 483 143 786 841 806 593 422 227 898 388 722 980 000 748 404 719}}
 
If one [[Graph of a function|graphs]] the set of points (''x'', ''y'') in <math>0 \le x < 106</math> and <math>k \le y < k + 17</math> satisfying the inequality given above, the resulting graph looks like this (note that the axes in this plot have been reversed, otherwise the picture comes out upside-down):
 
[[Image:Tupper's self referential formula plot.png]]
 
The formula itself is a general purpose method of decoding a bitmap stored in the constant ''k'', so it could actually be used to draw any other image. When applied to the unbounded positive range <math>0 \le y</math>, the formula tiles a vertical swath of the plane with a pattern that contains all possible 17-pixel-tall bitmaps.  One horizontal slice of that infinite bitmap depicts the drawing formula itself, but this is not remarkable since other slices depict all other possible formulae that might fit in a 17-pixel-tall bitmap. Tupper has disseminated, via email, extended versions of his original formula that rule out all but one slice ([http://www.peda.com/selfplot/selfplot3big.png], [http://www.peda.com/selfplot/selfplot2.png], [http://www.peda.com/selfplot/selfplot.png]).
 
The constant ''k'' is a simple [[1-bit color|monochrome]] [[bitmap|bitmap image]] of the formula treated as a binary number and multiplied by 17.  If ''k'' is divided by 17, the [[least significant bit]] encodes the upper-right corner (''k'', 0); the 17 least significant bits encode the rightmost column of pixels; the next 17 least significant bits encode the 2nd-rightmost column, and so on.
 
== See also ==
* [[Recursion]]
* [[Quine (computing)]]
 
== References ==
<div class="references-small">
* Tupper, Jeff. "Reliable Two-Dimensional Graphing Methods for Mathematical Formulae with Two Free Variables" http://www.dgp.toronto.edu/people/mooncake/papers/SIGGRAPH2001_Tupper.pdf
* Weisstein, Eric W. "Tupper's Self-Referential Formula." From MathWorld—A Wolfram Web Resource. http://mathworld.wolfram.com/TuppersSelf-ReferentialFormula.html
* Bailey, D. H.; Borwein, J. M.; Calkin, N. J.; Girgensohn, R.; Luke, D. R.; and Moll, V. H. Experimental Mathematics in Action. Natick, MA: A. K. Peters, p.&nbsp;289, 2006. http://crd-legacy.lbl.gov/~dhbailey/dhbpapers/hpmpd.pdf
* "Self-Answering Problems." Math. Horizons 13, No. 4, 19, Apr. 2006
* Wagon, S. Problem 14 in http://stanwagon.com/wagon/Misc/bestpuzzles.html
</div>
{{reflist}}
 
== External links ==
* [http://www.dgp.toronto.edu/people/mooncake/ Jeff Tupper official site]
* [http://www.peda.com/selfplot/ Extensions of Tupper's original self-referential formula]
* [http://web.aanet.com.au/superseed/ajmcrae/TupperPlot/TupperPlot.html TupperPlot], an implementation in JavaScript
* [http://www.pypedia.com/index.php/Tupper_self_referential_formula Tupper_self_referential_formula], an implementation in Python
* [http://avitzur.hax.com/2007/01/the_library_of_babel_function.html The Library of Babel function], a detailed explanation of the workings of Tupper's self-referential formula
 
[[Category:Inequalities]]
[[Category:Self-reference]]
[[Category:2001 introductions]]
[[Category:Computer graphics]]

Latest revision as of 19:16, 29 December 2014

Irwin Butts is what my spouse enjoys to contact me although I don't truly like being called like that. To collect badges is what her family members and her enjoy. For a while I've been in South Dakota and my parents reside close by. I am a meter reader but I strategy on changing it.

Feel free to visit my web-site: over the counter std test