Jump to content

Code/Cipher Idea to Remember - Number to an Image


Recommended Posts

Check out this method to take a long base-10 number, run it through a formula, and create a black and white 106x17 pixel image!

 

 

It's called the Tupper's Self-Referential Formula. https://en.wikipedia.org/wiki/Tupper's_self-referential_formula

So if we are every playing a future Treyarch zombie map and we see clips of paper laying around that just have a 543-digit integer on it, then we know we can run it through a formula to reveal an image!

Example 1: n=10972249630976314209007504532033134949682086639198171874178386489416721212125763915435428634919871166306043061044372149862503608116825035242203771489961723271194035787338485934044510302195667783070693718545221897410050191506550799292424771369239643895773826749855239799677873092167849216646372880455565320

makes an image that has the text "The Cake is a Lie".

Example 2: N=6064344935827571835614778444061589919313891311

makes an image of a smiley face.

And there are variations of this formula so that you can really have any length integer make an image of any height and width.

I couldn't find an online solver but here is one in JS that you can modify in a pinch: http://www.petervis.com/mathematics/tuppers_self-referential_formula/Plot_Tuppers_Self-Referential_Formula.html

And a Mathematica download: http://mathworld.wolfram.com/TuppersSelf-ReferentialFormula.html 

 

 

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, Code of Conduct, We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. .