Tupper's self-referential formula

282 views
Skip to first unread message

Don Shepherd

unread,
Oct 10, 2010, 11:24:49 PM10/10/10
to tinspire
Has anyone graphed this on an Nspire?

http://mathworld.wolfram.com:80/TuppersSelf-ReferentialFormula.html

Amazing. The graph IS the equation!

Nelson Sousa

unread,
Oct 11, 2010, 9:31:01 AM10/11/10
to tins...@googlegroups.com
I thought about it on occasion, but never got to build it.

however, you can't simply graph it. You need to create a function to
generate the various points that are part of the plot, store them in
lists and plot them as a scatter plot.

However... we're talking of two lists with a few hundred points
(potencially 17*106) and each point requires working with 400 digit
integers. It can take forever to compute. I may give it a try sometime
but on the computer software. I fear for my battery's health if I try
it on the handheld.

Cheers,
Nelson

> --
> To post to this group, send email to tins...@googlegroups.com
> To unsubscribe send email to tinspire+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> The tns documents shared by group members are archived at
> http://lafacroft.com/archive/nspire.php

Nelson Sousa

unread,
Oct 13, 2010, 5:39:30 PM10/13/10
to tins...@googlegroups.com
Here you go!

The program takes 1 or 2 seconds to run on the computer software, but
takes about 5 minutes on the handheld (be careful with your batteries'
health).

On the calculator page you may run the tupper program to rebuild the
output. It was already built, so that those of you without the
computer software may see the end result without the need to run the
program and waiting 5 minutes.

The formula decodes a bitmap image that is encoded as an integer. So
you may change that integer to produce any image you want. On the
document it's stored as variable n; if you want an image with
different dimensions edit the tupper program and change the bounds of
the two for-endfor cicles.

Warning: this image's size is 16*106 bits, meaning that the
corresponding integer can be as high as 10^547. In principle, the
maximum number of bits the Nspire can handle is 3321. That means you
can build an image of 55*60 pixels (3300 bits). However, the huge size
of the integer involved in the calculations may "harm" your handheld
(the bigger the number of bits, the longer it will take to calculate).
Big images may drain your batteries completely.

Cheers,
Nelson

Tupper.tns

Don Shepherd

unread,
Oct 13, 2010, 9:58:12 PM10/13/10
to tinspire
This is great, Nelson. You were able to do this without entering that
huge number for n found at the Wolfram site.

I'll bet that some kids will find this very interesting.

Thanks, Don Shepherd
> > On Mon, Oct 11, 2010 at 04:24, Don Shepherd <sheph...@iglou.com> wrote:
> >> Has anyone graphed this on an Nspire?
>
> >>http://mathworld.wolfram.com:80/TuppersSelf-ReferentialFormula.html
>
> >> Amazing.  The graph IS the equation!
>
> >> --
> >> To post to this group, send email to tins...@googlegroups.com
> >> To unsubscribe send email to tinspire+u...@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> >> The tns documents shared by group members are archived at
> >>http://lafacroft.com/archive/nspire.php
>
>
>
>  Tupper.tns
> 7KViewDownload- Hide quoted text -
>
> - Show quoted text -

Don Shepherd

unread,
Oct 14, 2010, 7:37:26 AM10/14/10
to tinspire
Oh, OK, so you entered the value for n first, now I get it.
> > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages