Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#51 2024-04-18 21:07:07

AnthonyRBrown
Member
Registered: 2024-03-09
Posts: 64

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

It's all a Mystery ? Like trying to get blood out of a stone!


The Ruddest in the classroom...just might be the Genius! smile

Offline

#52 2024-04-23 01:16:06

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

AnthonyRBrown wrote:

It's all a Mystery ? Like trying to get blood out of a stone!

Indeed! big_smile

phrontister wrote:

Absolute accuracy is required for all digits (right up to and including the units digit)

The rounding that occurs once QB64's double-precision limit is reached has enabled me to manufacture the following X3 + Y3 = Z3 'solution' (I adapted your FLT code):

Ha5Ip5Pl.png

Just BASIC (a scaled-down freeware version of Liberty BASIC) can handle HUGE numbers accurately, making 'solution' manufacturing rather difficult!

Here's an image of JB's output for the same X, Y & Z input as for the above QB64 image:

ru7us2Rl.png

No JB solution there. smile

Btw, the yellow highlighted portions denote runs of similar digits in groups of cubed numbers.

Last edited by phrontister (2024-05-21 19:28:32)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#53 2024-04-23 05:13:50

AnthonyRBrown
Member
Registered: 2024-03-09
Posts: 64

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

It never gives up! sad


The Ruddest in the classroom...just might be the Genius! smile

Offline

#54 2024-04-23 11:43:34

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

AnthonyRBrown wrote:

It never gives up! sad

But wait...there's more! big_smile

AnthonyRBrown wrote:

The most important numbers are the end numbers in brackets () the reason they are the most important is because they are the end of the process for making cube numbers! they are if you like the TRUTH numbers! its a bit like the numbers go round and round mathematically,and eventually make a whole cube number!

Ok. So, given QB64's (mis)handling of numbers that are too large for it, I thought I'd post an example demonstrating the inaccuracies that can occur in QB64 coding with the all-important last-digit TRUTH numbers in cases where the 16-digit double-precision accuracy boundary is breached: 

GOfduw1l.png

The Program A segment of that image shows QB64's accurate output of the last digit of X & Y values, compared with the inaccurate output of the last digit of Z values, each of which overstep the double-precision boundary.

In Program B of that image, all X,Y,Z values overstep the double-precision boundary, hence all those inaccuracies.

There are no such inaccuracies in the Just BASIC image below, because those same X,Y,Z values that I used in QB64 (see the image above) are within JB's HUGE upper precision limit...whatever that is! dizzy

IwAtdTVl.png

Last edited by phrontister (2024-04-23 13:33:16)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#55 2024-04-23 15:47:14

AnthonyRBrown
Member
Registered: 2024-03-09
Posts: 64

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

2024-04-10 11:18:46
AnthonyRBrown

Posts: 46
The FLT Demonstration program I made was made FREE! on a budget! It satisfies to show the Three Patterns A,B,C for the accuracy of the program up to certain level.

Most people read all the threads,and then walk away! sad


The Ruddest in the classroom...just might be the Genius! smile

Offline

#56 2024-04-23 21:12:27

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

AnthonyRBrown wrote:

Most people read all the threads,and then walk away! sad

But I'm still here! big_smile


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#57 2024-04-23 22:45:50

AnthonyRBrown
Member
Registered: 2024-03-09
Posts: 64

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

Truth will out.


The Ruddest in the classroom...just might be the Genius! smile

Offline

#58 2024-04-24 09:40:21

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

AnthonyRBrown wrote:

Truth will out.

Nae doot, mon! up


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#59 2024-04-27 00:27:53

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

phrontister (post #52) wrote:

The rounding that occurs once QB64's double-precision limit is reached has enabled me to manufacture the following X³ + Y³ = Z³ 'solution'...

I've explored that further, and found that manufacturing X3 + Y3 = Z3 'solutions' for ARB's QB64 program is fairly easily done...like so:
   1. X1 = a 17-digit number.
   2. Y1 = X1.
       Note: {Y1 = X1+1}, {Y1 = X1+2} and {Y1 = X1+3} also work well, but yield successively fewer 'solutions' than {Y1 = X1}.
   3. Z1 = the cube root of Z3: just select the first 17 digits of the cube root (the last digit may need rounding up if it's ≥5).
   
Using ARB's latest code (post #33), I added an option to enter custom X1,Y1,Z1 numbers instead of using the program's random numbers. Here's my adapted code:

I ran that code a few minutes ago, and here's an image from it:

DRatIFl.png

In my adapted code I restricted the length of the random numbers so that their cubes display accurately, with no rounding or truncation: ie, within QB64 double-precision limits.

Last edited by phrontister (2024-05-21 19:29:29)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#60 2024-04-27 00:40:52

Bob
Administrator
Registered: 2010-06-20
Posts: 10,621

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

up


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#61 2024-05-05 09:33:45

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

phrontister (post #59) wrote:
phrontister (post #52) wrote:

The rounding that occurs once QB64's double-precision limit is reached has enabled me to manufacture the following X3 + Y3 = Z3 'solution'...

I've explored that further, and found that manufacturing X3 + Y3 = Z3 'solutions' for ARB's QB64 program is fairly easily done...like so:
   1. X1 = a 17-digit number.
   2. Y1 = X1.
       Note: {Y1 = X1+1}, {Y1 = X1+2} and {Y1 = X1+3} also work well, but yield successively fewer 'solutions' than {Y1 = X1}.
   3. Z1 = the cube root of Z3: just select the first 17 digits of the cube root (the last digit may need rounding up if it's ≥5).

Inspired by the second image in my post #52, my theory was that for both X1 & Y1 >17 digits, there'd be 'solutions' if their lengths are equal and their first 17 digits are equal (or nearly equal). However:
   1. My first trial, with X1 & Y1 both 24 digits long & the first 18 digits equal, resulted in the 'solution' as per the image below...which yielded the coveted "WOW!". up
   2. My next trial, with X1 & Y1 both 30 digits long, resulted in no 'solutions' (tried equal digits from first 15 to first 30, all in vain). Hmm...

Conclusion: There are many, many 'solutions', but I haven't found the 'rule' that discovers them all.
wuwu1OI.png
As you can see, X1 & Y1 differ by 999,999. There would be many 'solutions' in that X1:Y1 range.

Last edited by phrontister (2024-05-23 23:09:22)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#62 2024-05-08 20:38:24

AnthonyRBrown
Member
Registered: 2024-03-09
Posts: 64

Re: Fermats Last Theorem Demonstration! by, Anthony.R.Brown (1998 Solved )

Proving Fermat' s Last Theorem (almost) in just 2 minutes !

https://www.youtube.com/watch?v=EymVXkPWxyc


The Ruddest in the classroom...just might be the Genius! smile

Offline

Board footer

Powered by FluxBB