home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: rec.puzzles
- Path: sparky!uunet!think.com!yale.edu!news.yale.edu!climat.geology.yale.edu!zhang
- From: zhang@climat.geology.yale.edu
- Subject: Re: simple number puzzle
- Message-ID: <1992Dec22.043157.1@climat.geology.yale.edu>
- Lines: 27
- Sender: news@news.yale.edu (USENET News System)
- Nntp-Posting-Host: climat.geology.yale.edu
- Organization: Yale University GFD Computing
- References: <1992Dec21.195038.28106@Csli.Stanford.EDU>
- Date: 22 Dec 92 04:31:57 EDT
-
- In article <1992Dec21.195038.28106@Csli.Stanford.EDU>, hiraga@Csli.Stanford.EDU (Yuzuru Hiraga) writes:
- > A simple number puzzle for Christmas...
- > # sorry if this is in the FAQ: ours just expired.
- >
- > What positive integer cannot be expressed as a sum of 2 or more
- > consecutive integers?
- >
- > More specifically, given a positive integer, how many ways can it
- > be expressed as a sum of 2 or more consecutive [positive] integers
- > (including none)?
-
-
- Clearly, any positive integer number that could be expressed as a sum of
- 2 or more consecutive integers can be written as either (n+k)(2k+1) or
- k(2n+2k-1) where both n and k are any integers that are greater than or
- equal to 1. In other words, any integer number which has at least one odd
- factor greater than or equal to 3 can be expressed as a sum of 2 or more
- consecutive integers. (All the prime numbers greater than 2 are included here.)
- The exceptions, therefore, are only powers of 2.
-
-
-
-
-
-
-
-
-