Seven digit base eight positive integer puzzle

AI Thread Summary
The discussion focuses on finding a seven-digit base-8 integer, N, that uses each of the digits 1 to 7 exactly once while meeting specific divisibility conditions. The conditions require that N is divisible by 7, the first six digits by 6, the first five by 5, the first four by 4, the first three by 3, and the first two by 2. One participant shares their experience of solving the problem by hand, noting that while they considered using a Mathematica script, they opted for a manual approach aided by Excel to calculate octal values. They mention that there are only 5040 permutations of the digits, which allowed them to quickly narrow down the possibilities to 48 through logical reasoning. Ultimately, they processed 36 of these possibilities to find the valid configurations for N.
K Sengupta
Messages
113
Reaction score
0
N is a seven digit base-8 positive integer having the form ABCDEFG that uses each of the nonzero base-8 digits 1 to 7 exactly once, and satisfies these conditions:

(i) ABCDEFG is divisible by 7.
(ii) ABCDEF is divisible by 6.
(iii) ABCDE divisible by 5.
(iv) ABCD is divisible by 4.
(v) ABC is divisible by 3.
(vi) AB is divisible by 2.

Determine all possible value(s) that N can take.
 
Physics news on Phys.org
I'm sure I could write a mathematica script to solve this, but does anyone have any good tricks to solve it by hand?
 
NeoDevin said:
does anyone have any good tricks to solve it by hand?

I effectively solved by hand (I used Excel to calculate the octal values of stuff), it wasn't too bad. There's only 5040 permutations of 1-7, and the possibilities seemed to cull themselves out pretty quickly. I was able to knock it down to 48 possibilities just using some logic-- from then on it was basically slogging through-- I effectively slogged through 36, but Excel helped.

3254167
5234761
5674321

DaveE
 
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...

Similar threads

Back
Top