Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Manipulate digits to generate year

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119706] Manipulate digits to generate year
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Sat, 18 Jun 2011 06:20:26 -0400 (EDT)

Here are two neat ways of using the digits, in proper or reverse
order, to generate the current year:
10+(9*8*(7/6)*5*4)+321 = 2011
0-12+(34*56)+7*(8+9)
How could you write a Mathematica program to derive these?  If
you wanted to do something similar, but to generate a different year
(e.g., 2012), how could you do that?
Best,
Harvey

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


  • Prev by Date: Manipulate digits to generate year
  • Next by Date: Re: How to Do a Replacement with Two Conditions
  • Previous by thread: Manipulate digits to generate year
  • Next by thread: Manipulate digits to generate year