Post Reply 
Little math problem(s) February 2019
02-23-2019, 10:01 PM (This post was last modified: 02-23-2019 10:23 PM by Albert Chan.)
Post: #23
RE: Little math problem(s) February 2019
(02-23-2019 08:15 PM)pier4r Wrote:  From a month to another I wondered: "could it be that I sum two different sets of numbers and I get the same S1 and S2?"

This generated 2 sets of 26 numbers that get the same S1, S2, using Pythorean triplets:
13² + 84² = 36² + 77² = 85²
16² + 63² = 33² + 56² = 65²

>>> lst = [13,84] * 5 + [33,56] * 8
>>> print sum(lst), sum([i*i for i in lst])
1197 69925

>>> lst = [36,77] * 5 + [16,63] * 8
>>> print sum(lst), sum([i*i for i in lst])
1197 69925
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Little math problem(s) February 2019 - Albert Chan - 02-23-2019 10:01 PM



User(s) browsing this thread: 1 Guest(s)