Mini-challenge: digits by half
|
03-29-2022, 12:42 PM
Post: #5
|
|||
|
|||
RE: Mini-challenge: digits by half
Nice solutions, Albert and Alan. I, too, was surprised to find multiple answers.
My approach is similar to Albert's. Using his notation (6ABC * 2 = 1DEFG), it's clear that D is 2 or 3. Next I used the fact that the least significant N digits of 1DEFG are fully determined by the least significant N digits of 6ABC * 2. This leads to C being 2,4,7 or 9. Then I figured the possibilities for the least significant 2 digits. I don't have my notes in front of me, but I think that led to 4 dropping out as a candidate for C Moving to the least significant 3 gave the answer. A simple C++ program gives them all: Code: #include <iostream> |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Mini-challenge: digits by half - David Hayden - 03-28-2022, 05:46 PM
RE: Mini-challenge: digits by half - Allen - 03-28-2022, 10:34 PM
RE: Mini-challenge: digits by half - Albert Chan - 03-28-2022, 11:33 PM
RE: Mini-challenge: digits by half - Albert Chan - 03-28-2022, 10:48 PM
RE: Mini-challenge: digits by half - David Hayden - 03-29-2022 12:42 PM
RE: Mini-challenge: digits by half - Albert Chan - 03-29-2022, 01:47 PM
RE: Mini-challenge: digits by half - David Hayden - 03-29-2022, 04:31 PM
RE: Mini-challenge: digits by half - Albert Chan - 03-29-2022, 04:52 PM
RE: Mini-challenge: digits by half - David Hayden - 03-29-2022, 08:21 PM
RE: Mini-challenge: digits by half - DavidM - 03-30-2022, 11:32 AM
RE: Mini-challenge: digits by half - Albert Chan - 03-30-2022, 04:25 PM
RE: Mini-challenge: digits by half - DavidM - 03-31-2022, 11:07 AM
|
User(s) browsing this thread: 2 Guest(s)