Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Math & English enrichment at SchoolPlus-Online
HoodaMath: games and movies
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help

III Millennium Olympiad

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page
Subject: Re: An arithmetic puzzle with digits 1 through 9
Date: Sat, 05 Aug 2000 15:36:04 -0400
From: Gary Darby

?/?x?+?x?x?/?+?x?=100 using only 1-9

Here are 3 of 192 solutions (counting commutations) that I found using a program I wrote called "Brute Force".

4/8*6 + 2*5*7/1 + 9*3 = 100
4/1*8 + 2*3*5/6 + 7*9 = 100
6/2*1 + 5*7*8/4 + 3*9 = 100

As the name implies, BruteForce tries all permutations of a given set of integers, substituting into a given set of equations. Works well for problems with no more than a few million possible solutions.

It's written in Delphi (Pascal really), a great learning language. Would also be a great "earning" language if Borland had better marketing skills. It's also too bad that Borland hasn't made it more accessible to young people. I'm currently designing a web site to provide sample puzzle-solving programs for anyone interested in learning Delphi by example. I've registered site names but I still need to convince myself that I want to make the necessary time commitment.

Anyway, I thoroughly enjoy your site. Keep up the good work.

Gary Darby

 

 

Copyright © 1996-2009 Alexander Bogomolny

33062545Page copy protected against web site content infringement by Copyscape


Search:
Keywords:

Google
Web CTK