Pythagorean Triples

49 views
Skip to first unread message

Jody Crothers

unread,
Aug 12, 2023, 12:01:05 AM8/12/23
to TI IT list
Hi All,
I hope all is going well for you.
I am looking for a list of pythagorean triples in a spreadsheet, a b and c in separate columns.
I want my students to investigate the triple and associated triangle area.

Does anyone have such a document so I don't have to manually type in the values
Cheers
Jody



Sent from my Galaxy

Andy Kemp

unread,
Aug 12, 2023, 4:32:41 AM8/12/23
to tins...@googlegroups.com
The first 2100 triples are here:

Hope it’s useful.

Best wishes
Andy 

--
--
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
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime

---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/SL2P216MB1048333E7E3431A444087D3EB811A%40SL2P216MB1048.KORP216.PROD.OUTLOOK.COM.

Thomas Lake (Tom)

unread,
Aug 12, 2023, 5:30:19 AM8/12/23
to tinspire
Why type them in when you can generate them? Here's a BASIC program that will do that. You'll have to convert it to either TI BASIC or VBA
to enter into a spreadsheet  but that shouldn't be too hard. 

If you want to eliminate multiples, then change line 220 to read

LET count=count-1

Adjust the limit for U and V in lines 60 and 70.

10 PRINT "GENERATION OF PYTHAGOREAN TRIPLES"
20 PRINT
30 PRINT "TRIPLES","","","MULT OF","U AND V","NUMBER OF TRIPLES"
50 PRINT
55 LET COUNT=0
60 FOR U=1 TO 10
70    FOR V=U+1 TO 40
75       LET COUNT = COUNT+1
80       LET A=2*U*V
90       LET B=U^2+V^2
100       LET C=V^2-U^2
110       FOR N = 10 TO 2 STEP -1
120          IF A/N<>INT(A/N) THEN 240
130          IF B/N<>INT(B/N) THEN 240
140          IF C/N<>INT(C/N) THEN 240
150          LET F=A/N
160          LET G=B/N
170          LET H=C/N
180          LET K=MAX(A,C)
190          LET J=MIN(C,A)
200          LET S=MAX(F,H)
210          LET T=MIN(H,F)
220          PRINT J,K,B,"(";T;",";S;",";G;")","(";U;",";V;")",COUNT
230          GOTO 270
240       NEXT N
250       LET K=MAX(A,C)
260       LET J=MIN(C,A)
265       PRINT J,K,B,"","(";U;",";V;")",COUNT
270    NEXT V
280 NEXT U
300 END

John Hanna

unread,
Aug 12, 2023, 6:43:49 AM8/12/23
to tins...@googlegroups.com

Found these two online.

--

PythagTriples.xls
PythagoreanTriples.xls

Heidi Rudolph

unread,
Aug 12, 2023, 9:04:53 AM8/12/23
to tins...@googlegroups.com
Of course I do! Somewhere…….   Seriously! Nspire document, you know. 
--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+unsubscribe@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
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime

---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+unsubscribe@googlegroups.com.

Jody Crothers

unread,
Aug 13, 2023, 9:03:55 PM8/13/23
to tins...@googlegroups.com

Hi all,
Some interesting results as you work through the first 1000 Pythagorean triples.

Now could I create a slider to release data points as I move the slider?




Jody Crothers


Head of Learning Area (Mathematics)

Ridge View Secondary College

Western Australia

www.jodstar.com


From: tins...@googlegroups.com <tins...@googlegroups.com> on behalf of Jody Crothers <jodst...@hotmail.com>
Sent: Saturday, 12 August 2023 12:00 PM

To: TI IT list <tins...@googlegroups.com>
Subject: [tinspire] Pythagorean Triples
--
--
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
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime

---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
pythagtriple area.tns
Reply all
Reply to author
Forward
0 new messages