Martin Gardner dies at age 95



#8

His obituary.

Another one of the great ones passes. He revealed the fascinating side of mathematics to generations of readers through his books, articles, and Scientific American columns. He will be missed. Who will take his place? The guy who writes the comic strip Foxtrot has a mathematical leaning, but I doubt that a worthy successor to Mr. Gardner is likely, unfortunately.

In honor of his passing, I propose an easy challenge for a programmable calculator. Identify the only number(s) such that the sum of the digits times the product of the digits equals the original number.

And, no, 95 is not one of them: (9+5) * (9*5) =/= 95.


#9

0 and 1 both satisfy the conditions and I didn't even need a program.

Add the restriction that there be two or more digits in the number.


- Pauli

Edited: 24 May 2010, 7:48 a.m. after one or more responses were posted


#10

To avoid a gross answer, there should be an additional restriction of all the digits being different.

- Pauli


#11

Quote:
To avoid a gross answer, there should be an additional restriction of all the digits being different.

: )

If you prefer, but eliminating gross answers may reduce the pool of correct answers by 50%!


#12

Doesn't this restriction actually remove ALL correct answers but 2?

I can't write the program, but I do know the correct answers.

Does that count? [:-)

Edited: 24 May 2010, 10:57 a.m.

#13

Quote:
Add the restriction that there be two or more digits in the number.

Agreed.

#14

Now, let me turn this into a REAL challenge. Implement this on the 17bii+ using the solver.

#15

O.K., here's the numbers. Somebody write a program to find them.

1 digit: 0,1

2 digit: 22 [answer: 4]

3 digit: Any combination of 123, 321, etc. [answer: 6]

4 digit: Any combination of 4211 (must have two 1's) [answer: 8]

5 digit: Any combination of 52111 (must have three 1's) [answer: 10]

6 digit: Any combination of 621111 (must have four 1's) [answer: 12]

And so on.

Any other combinations work?


#16

Martin, those numbers don't satisfy the criteria: sum of digits (n) * product of digits(n) = n. For example, sod(22) * pod(22) = 4 * 4 = 16, not 22.

The only numbers that work are 0 and 1 and 135 and 144. I've tried testing numbers up to several million and found no others.

Don


#17

I guess I misunderstood the criteria. I understood sum of digits = product of digits.


#18

Yes, I see. That's a different problem, of course.

I guess no one wants to try to do this on a 17bii using the solver. I was hoping to point out a way of exiting a loop early in the solver, which the manual says you cannot do.

But you can.

: )


#19

Well, I don't have a 17bii or +, but I do have a 17b and a 27s, so I would like to know the trick you mentioned. Probably others would also, although I get the impression the most members here are more interested in traditional keystroke programming than the Solver.


#20

Martin, I wrote this little article 3 years ago for HCC2007. It describes the trick.

#21

Well, it's a very sad day. Martin Gardner was very popular even here in Italy.

Ciao.

-- Antonio


Possibly Related Threads...
Thread Author Replies Views Last Post
  O.T. Aston Martin mentions Golden Ratio on their web-site. Pavneet Arora 1 572 01-24-2013, 06:12 PM
Last Post: Mark Scheuern
  OFF TOPIC: Computer to run Windows 95? Dia C. Tran 13 2,115 06-04-2012, 03:21 AM
Last Post: x34
  41CX was 95% working - now 100% working Russell Dobson 5 983 03-27-2012, 05:04 AM
Last Post: Russell Dobson
  Help with HP 41CX - 95% working Russell Dobson 6 1,127 02-06-2012, 05:32 AM
Last Post: Russell Dobson
  Ángel Martin, my Open Source Hero Geir Isene 7 1,211 08-08-2011, 02:26 AM
Last Post: Ángel Martin
  Ángel Martin's 13 digit OS routines up on HP-41 MCODE wiki Geir Isene 1 563 12-03-2010, 03:46 PM
Last Post: Angel Martin
  OT - Age restricted audience - 50+: KIM-1 / SDK-85 Joerg Woerner 12 1,746 11-08-2010, 07:56 AM
Last Post: uhmgawa
  A tribute to Diego Diaz and Ángel Martin Geir Isene 3 786 01-13-2010, 01:42 AM
Last Post: Diego Diaz
  35S for $32.95 at Buy.com Jeff O. 4 870 06-08-2009, 11:18 AM
Last Post: John Stark
  OT: TI-95 Manuals Egan Ford 5 917 03-09-2009, 08:37 PM
Last Post: Palmer O. Hanson, Jr.

Forum Jump: