$$Excel-Macros$$ Re: Puzzle #3 - Identify Perfect and Smith Numbers

2009-09-29 Thread Jai Deo Tiwari
Well done

its helpful for me

On Wed, Sep 30, 2009 at 12:20 AM, Sandeep sandymau...@gmail.com wrote:

 Hello Everyone,
 Here is solution for Puzzle#3 NOT PROTECTED, so enjoy it. Hello Vivek I was
 aspecting more puzzles from you as per you said but waiting is seems as it
 never ends. Please give some more puzzles.

 Regards
 Sandeep
 - Original Message -
 From: Ashish Jain 26may.1...@gmail.com
 To: MS EXCEL AND VBA MACROS excel-macros@googlegroups.com
 Sent: Saturday, September 12, 2009 8:21 AM
 Subject: $$Excel-Macros$$ Re: Puzzle #3 - Identify Perfect and Smith
 Numbers



 Well Done Sandeep and Bruno !! Both of you done it very well.

 If I've to rank between Bruno and Sandeep, you will be ranked higher
 than Sandeep for your fantastic presentation. I appreciate efforts of
 both of you, and agree that this was much harder than previous ones.
 But both of you represented superb intellect. Well Done Sandeep and
 Bruno !

 --
 Thanks  Regards
 Ashish Jain
 (Excel Macros - Google Group Manager)
 http://www.excelitems.com
 (Developer of OpenXL)
 http://www.openexcel.com
 Excel,VBA,VSTO Trainer
 Ph. No. - 0x25402CF2B
 ---

 On Sep 10, 7:42 am, Bruno Bruno brunobbr...@gmail.com wrote:
  Is it me, or this puzzle is (much) harder than the others?Not exactly
 hard
  to do it, but hard to do it in a smart way. What killed me is a way to
  identify Pseudo-Primes and their respective primes sum.
 
  Is there an easier way than simply testing all combinations of sums from
 a
  number's primes? Because when a number has N divisors (others than
  itself),
  there are 2^N different ways to sum them. When N = 17 (Happens for 180,
  240, 252, 288, 300, 336, 360, 396, 420, 432, 450, 468 and 480 in the
 first
  500 numbers), this means 2^17 combinations - enough to overflow my poor
  computer.
 
  So I had to treat this numbers (all of them pseudo-primes) apart from the
  general case. I believe the solution is working, but would be very
 pleased
  to learn a more elegant solution.
  (I also considered 0 and 1 special cases - don't know what kind of primes
  definition you're using)
 
  Thanks for the puzzle,
  Bruno
 
  On Wed, Sep 9, 2009 at 12:46 AM, Ashish Jain 26may.1...@gmail.com
 wrote:
   Hi All,
 
   This is challenge for all excel users. Solve these puzzles and sharpen
   your
   excel acumen. So, here goes the second puzzle of Excel Macros Google
   Group
   in the attached file.
 
   *Old Puzzles:*
   Puzzle #1 -
  http://groups.google.com/group/excel-macros/browse_thread/thread/3922.
 ..
   Solved by - Harmeet Only.
   Puzzle #2 -
  http://groups.google.com/group/excel-macros/browse_thread/thread/b4d2.
 ..
   Solved by - Bruno and Sandeep
 
  
 --
   Thanks  Regards
   Ashish Jain
   (Excel Macros - Google Group Manager)
  http://www.excelitems.com
   (Developer of OpenXL)
  http://www.openexcel.com
   Excel,VBA,VSTO Trainer
   Ph. No. - 0x25402CF2B
  
 ---
 
 
 
  Puzzle #3.xls
  108KViewDownload


 



-- 
Regards,

Jai Deo Tiwari,
Rewire Information Systems
Indiranagar,
Bangalore - 38
Mob # 09620346991
.
Notice:
The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments.
Thank you!!
--

--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---



$$Excel-Macros$$ Re: Puzzle #3 - Identify Perfect and Smith Numbers

2009-09-11 Thread Ashish Jain

Well Done Sandeep and Bruno !! Both of you done it very well.

If I've to rank between Bruno and Sandeep, you will be ranked higher
than Sandeep for your fantastic presentation. I appreciate efforts of
both of you, and agree that this was much harder than previous ones.
But both of you represented superb intellect. Well Done Sandeep and
Bruno !

--
Thanks  Regards
Ashish Jain
(Excel Macros - Google Group Manager)
http://www.excelitems.com
(Developer of OpenXL)
http://www.openexcel.com
Excel,VBA,VSTO Trainer
Ph. No. - 0x25402CF2B
---

On Sep 10, 7:42 am, Bruno Bruno brunobbr...@gmail.com wrote:
 Is it me, or this puzzle is (much) harder than the others?Not exactly hard
 to do it, but hard to do it in a smart way. What killed me is a way to
 identify Pseudo-Primes and their respective primes sum.

 Is there an easier way than simply testing all combinations of sums from a
 number's primes? Because when a number has N divisors (others than itself),
 there are 2^N different ways to sum them. When N = 17 (Happens for 180,
 240, 252, 288, 300, 336, 360, 396, 420, 432, 450, 468 and 480 in the first
 500 numbers), this means 2^17 combinations - enough to overflow my poor
 computer.

 So I had to treat this numbers (all of them pseudo-primes) apart from the
 general case. I believe the solution is working, but would be very pleased
 to learn a more elegant solution.
 (I also considered 0 and 1 special cases - don't know what kind of primes
 definition you're using)

 Thanks for the puzzle,
 Bruno

 On Wed, Sep 9, 2009 at 12:46 AM, Ashish Jain 26may.1...@gmail.com wrote:
  Hi All,

  This is challenge for all excel users. Solve these puzzles and sharpen your
  excel acumen. So, here goes the second puzzle of Excel Macros Google Group
  in the attached file.

  *Old Puzzles:*
  Puzzle #1 -
 http://groups.google.com/group/excel-macros/browse_thread/thread/3922...
  Solved by - Harmeet Only.
  Puzzle #2 -
 http://groups.google.com/group/excel-macros/browse_thread/thread/b4d2...
  Solved by - Bruno and Sandeep

  --
  Thanks  Regards
  Ashish Jain
  (Excel Macros - Google Group Manager)
 http://www.excelitems.com
  (Developer of OpenXL)
 http://www.openexcel.com
  Excel,VBA,VSTO Trainer
  Ph. No. - 0x25402CF2B
  ---



  Puzzle #3.xls
 108KViewDownload
--~--~-~--~~~---~--~~
--
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com

HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~--~~~~--~~--~--~---