Article View: aus.mathematics
Article #57Product and sum of integer array as test for repeats
From: Bruce Varley
Date: Sat, 21 May 2011 13:17
Date: Sat, 21 May 2011 13:17
13 lines
2202 bytes
2202 bytes
This is an outcome of an industrial problem that's been solved with some brute force computer work, this posting is just a result of my curiosity. We had the task of checking an array of integers for duplicates, due to the hardware involved the traditional approaches weren't suitable. One of our people came up with an algo that works for the cases that we encounter in the field, I'm wondering whether the result holds for all n. There is an array of n integers between 1 and n, with no repeated members, in any order. Let P be the product of all the entries, and S be the sum. The postulate is that no other set of n integers, all between 1 and n (obviously containing repeats) will have the same values for both P and S.
Technical Details
Message-ID:
<sfednZKGnKXCJkrQnZ2dnUVZ8vSdnZ2d@westnet.com.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10d67e,14bbc351f4d58412,start X-Google-NewGroupId: yes X-Google-Attributes: giddfcd5d83b8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail NNTP-Posting-Date: Sat, 21 May 2011 08:17:19 -0500 From: "Bruce Varley" <bv@NoSpam.com> Newsgroups: aus.mathematics Subject: Product and sum of integer array as test for repeats Date: Sat, 21 May 2011 21:17:16 +0800 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-RFC2646: Format=Flowed; Original Message-ID: <sfednZKGnKXCJkrQnZ2dnUVZ8vSdnZ2d@westnet.com.au> Lines: 16 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 124.169.101.211 X-Trace: sv3-oYBT16XjlILjgUi3mESAohIi1yFOyDHm0NVgbFOhWQmg/4OtcobSDuNSTBSYJ1rFtJqoV9nGIIelUZz!KDJeXrAZL27JgKvSKaXaHQg8mQ06JA3zRHcbKbhAGPDn/BCbAO+Vi5Ff3MkZOC6YBv5ppRf1UiVY!lkPN0DA51s2+YPq0XPqwSLA= X-Complaints-To: abuse@westnet.com.au X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1833