Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

challenge problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61219] challenge problem
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 13 Oct 2005 01:39:29 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

At http://www.itasoftware.com/careers/eng/job1.php, there are a number 
of interestng programming problems posed.  One, the "Lucky Sevens", is 
to write a program that will find the sum of all those integers between 
1 and 10^11 that are divisible by 7 AND whose reversed-digit forms are 
also divisible by 7.

I should think that an elegant and possibly efficient solution in 
Mathematica would be to use the form func /@ Range[10^11].  But since 
Mathematica 5.2 on my my 32-bit Windows machine won't let me form 
Range[10^11], a 64-bit architecture would seem to be required.


-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: fourier transform
  • Next by Date: Re: fourier transform
  • Previous by thread: Re: Shadowing of symbols in a package
  • Next by thread: Re: challenge problem