Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #331808 > unrolled thread

Theoretical Mathematics

Started byadventmagic@gmail.com
First post2016-04-14 09:49 -0700
Last post2016-04-17 08:07 -0500
Articles 17 on this page of 57 — 12 participants

Back to article view | Back to sci.math


Contents

  Theoretical Mathematics adventmagic@gmail.com - 2016-04-14 09:49 -0700
    Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-14 20:33 +0100
      Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 15:58 -0500
        Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-14 21:50 +0100
          Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 16:59 -0500
            Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 17:37 -0500
              Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-14 23:45 +0100
                Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 04:23 -0500
                  Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-15 16:15 +0100
                    Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 14:01 -0500
                      Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-15 11:14 -0700
                        Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 14:20 -0500
                        Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-15 11:24 -0700
                          Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 14:38 -0500
                            Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-15 12:08 -0700
                      Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-15 21:05 +0100
                        Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-15 21:13 +0100
                        Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 16:11 -0500
              Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-15 04:52 -0700
            Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-15 12:34 +0200
              Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 06:41 -0500
                Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-16 00:22 +0200
        Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 16:50 -0500
          Re: Theoretical Mathematics Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-14 21:54 +0100
            Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 17:02 -0500
        Re: Theoretical Mathematics James Waldby <not@valid.invalid> - 2016-04-15 20:50 +0000
    Re: Theoretical Mathematics R Kym Horsell <kym@kymhorsell.com> - 2016-04-14 20:17 +0000
    Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-14 15:43 -0700
      Re: Theoretical Mathematics Bill <BILL_NOSPAM@whoknows.net> - 2016-04-14 19:15 -0400
      Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 19:20 -0500
        Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-14 16:49 -0700
          Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-14 20:27 -0500
        Re: Theoretical Mathematics Bill <BILL_NOSPAM@whoknows.net> - 2016-04-14 21:34 -0400
          Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 01:30 -0500
            Re: Theoretical Mathematics Bill <BILL_NOSPAM@whoknows.net> - 2016-04-15 04:45 -0400
              Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 05:34 -0500
            Re: Theoretical Mathematics David Bernier <david250@videotron.ca> - 2016-04-15 08:38 -0400
              Re: Theoretical Mathematics Bill <BILL_NOSPAM@whoknows.net> - 2016-04-15 10:05 -0400
    Re: Theoretical Mathematics adventmagic@gmail.com - 2016-04-15 10:53 -0700
    Re: Theoretical Mathematics Peter Percival <peterxpercival@hotmail.com> - 2016-04-15 19:31 +0100
      Re: Theoretical Mathematics abu.kuanysh05@gmail.com - 2016-04-15 11:54 -0700
    Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 19:09 -0500
      Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-15 19:19 -0500
        Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-16 19:05 -0700
          Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-16 19:34 -0700
            Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-18 05:29 -0700
              Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-20 04:07 -0700
                Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-20 16:00 -0500
                  Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-20 13:12 -0700
                    Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-21 00:03 +0200
                      Re: Theoretical Mathematics Julio Di Egidio <julio@diegidio.name> - 2016-04-20 15:35 -0700
      Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-18 11:52 +0200
        Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-18 13:56 +0200
          Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-18 16:29 +0200
            Re: Theoretical Mathematics Thomas <n.t775@yahoo.de> - 2016-04-19 10:58 +0200
            Re: Theoretical Mathematics quasi <quasi@null.set> - 2016-04-19 11:45 -0500
    Re: Theoretical Mathematics Pfsszxt <Pfsszxt@aol.com> - 2016-04-17 08:07 -0500

Page 3 of 3 — ← Prev page 1 2 [3]


#331905

Fromabu.kuanysh05@gmail.com
Date2016-04-15 11:54 -0700
Message-ID<f6010ce9-7140-4e9b-9c7b-e644cc4b4275@googlegroups.com>
In reply to#331903
I tried to configure base_23,
using the first-occurence of each letter
in the names of the numbers from 10 to 22

[toc] | [prev] | [next] | [standalone]


#331931

Fromquasi <quasi@null.set>
Date2016-04-15 19:09 -0500
Message-ID<7l03hb1eah78a54qeq56t5qd1v7v6l58n7@4ax.com>
In reply to#331808
In case people want a little more ...

Here's a French version of adventmagic's puzzle:

Consider the 17 strings

   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
   dix,onze,douze,treize,quatorze,quinze,seize

representing the values 0 through 16 inclusive.

Find the largest nonnegative integer M <= 16 such that,
using exist distinct values for the letter symbols, 

   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z

the M + 1 equations

   z + e + r + o = 0
   ...
   ... 
   ? + ? + ... + ? = M

are satisfied, and, for that M, find the least nonnegative 
integer N such that there is a solution such that each letter 
symbol has absolute value at most N. Finally, for that pair 
(M,N), then, assuming my my work is correct (always a concern), 
there are exactly 5 solutions. Find them.

Remark:

The French version isn't really any harder than the English 
version, so consider it just a "race" to see who can be the
first to solve it.

Ready, set, go!

quasi

[toc] | [prev] | [next] | [standalone]


#331932

Fromquasi <quasi@null.set>
Date2016-04-15 19:19 -0500
Message-ID<qo03hb10vujfce0dpdou0j4ko8rbqkkdv6@4ax.com>
In reply to#331931
quasi wrote:
>
>In case people want a little more ...
>
>Here's a French version of adventmagic's puzzle:
>
>Consider the 17 strings
>
>   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
>   dix,onze,douze,treize,quatorze,quinze,seize
>
>representing the values 0 through 16 inclusive.
>
>Find the largest nonnegative integer M <= 16 such that,
>using exist distinct values for the letter symbols, 
>
>   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z

Minor revision:

You only need to assign values to the letters that are actually 
used in your equations so, depending on the value of M, you may 
not need to assign values to all of the above letter symbols. 

But note -- if it turns out that M > 9, you will, in fact, need 
all of them.

>the M + 1 equations
>
>   z + e + r + o = 0
>   ...
>   ... 
>   ? + ? + ... + ? = M
>
>are satisfied, and, for that M, find the least nonnegative 
>integer N such that there is a solution such that each letter 
>symbol has absolute value at most N. Finally, for that pair 
>(M,N), then, assuming my my work is correct (always a concern), 
>there are exactly 5 solutions. Find them.
>
>Remark:
>
>The French version isn't really any harder than the English 
>version, so consider it just a "race" to see who can be the
>first to solve it.
>
>Ready, set, go!

quasi

[toc] | [prev] | [next] | [standalone]


#331983

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-16 19:05 -0700
Message-ID<6c02c116-952a-4fcd-9497-1362397f5d3a@googlegroups.com>
In reply to#331932
On Saturday, April 16, 2016 at 12:21:53 AM UTC+1, quasi wrote:
> quasi wrote:
> >
> >In case people want a little more ...
> >
> >Here's a French version of adventmagic's puzzle:
> >
> >Consider the 17 strings
> >
> >   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
> >   dix,onze,douze,treize,quatorze,quinze,seize
> >
> >representing the values 0 through 16 inclusive.
> >
> >Find the largest nonnegative integer M <= 16 such that,
> >using exist distinct values for the letter symbols, 
> >
> >   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
> 
> Minor revision:
> 
> You only need to assign values to the letters that are actually 
> used in your equations so, depending on the value of M, you may 
> not need to assign values to all of the above letter symbols. 
> 
> But note -- if it turns out that M > 9, you will, in fact, need 
> all of them.

I get we need all of them for M >= 9.

> >the M + 1 equations
> >
> >   z + e + r + o = 0
> >   ...
> >   ... 
> >   ? + ? + ... + ? = M
> >
> >are satisfied, and, for that M, find the least nonnegative 
> >integer N such that there is a solution such that each letter 
> >symbol has absolute value at most N. Finally, for that pair 
> >(M,N), then, assuming my my work is correct (always a concern), 
> >there are exactly 5 solutions. Find them.

I get M=11, N=10 and only 1 solution:

[ a, c, d, e, f, h, i, n,  o, p, q, r, s, t, u, x, z]
[-8, 8,-1, 1,-6, 9, 6, 7,-10,-5, 5,-7, 3, 4, 0,-9,10]

Here are the counts for all values of M:

(M=0 ,N=2 ) ==>    24 [e,o,r,z]
(M=1 ,N=3 ) ==>    24 [e,n,o,r,u,z]
(M=2 ,N=4 ) ==>    12 [d,e,n,o,r,u,x,z]
(M=3 ,N=6 ) ==>  1344 [d,e,i,n,o,r,s,t,u,x,z]
(M=4 ,N=7 ) ==>  3912 [a,d,e,i,n,o,q,r,s,t,u,x,z]
(M=5 ,N=7 ) ==>   606 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
(M=6 ,N=7 ) ==>    41 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
(M=7 ,N=7 ) ==>     2 [a,c,d,e,i,n,o,p,q,r,s,t,u,x,z]
(M=8 ,N=9 ) ==>    39 [a,c,d,e,h,i,n,o,p,q,r,s,t,u,x,z]
(M=9 ,N=9 ) ==>     9 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
(M=10,N=10) ==>    19 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
(M=11,N=10) ==>     1 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
(M=12,N=_ ) ==>     0 _
(M=13,N=_ ) ==>     0 _
(M=14,N=_ ) ==>     0 _
(M=15,N=_ ) ==>     0 _
(M=16,N=_ ) ==>     0 _

Cannot find any obvious error in my code: the code anyway is pretty simple, similar to the code I had shown up-thread.

Julio

[toc] | [prev] | [next] | [standalone]


#331984

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-16 19:34 -0700
Message-ID<973e6587-b7d9-4a65-a562-aa3568378ad2@googlegroups.com>
In reply to#331983
On Sunday, April 17, 2016 at 3:05:22 AM UTC+1, Julio Di Egidio wrote:
> On Saturday, April 16, 2016 at 12:21:53 AM UTC+1, quasi wrote:
> > quasi wrote:
> > >
> > >In case people want a little more ...
> > >
> > >Here's a French version of adventmagic's puzzle:
> > >
> > >Consider the 17 strings
> > >
> > >   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
> > >   dix,onze,douze,treize,quatorze,quinze,seize
> > >
> > >representing the values 0 through 16 inclusive.
> > >
> > >Find the largest nonnegative integer M <= 16 such that,
> > >using exist distinct values for the letter symbols, 
> > >
> > >   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
> > 
> > Minor revision:
> > 
> > You only need to assign values to the letters that are actually 
> > used in your equations so, depending on the value of M, you may 
> > not need to assign values to all of the above letter symbols. 
> > 
> > But note -- if it turns out that M > 9, you will, in fact, need 
> > all of them.
> 
> I get we need all of them for M >= 9.
> 
> > >the M + 1 equations
> > >
> > >   z + e + r + o = 0
> > >   ...
> > >   ... 
> > >   ? + ? + ... + ? = M
> > >
> > >are satisfied, and, for that M, find the least nonnegative 
> > >integer N such that there is a solution such that each letter 
> > >symbol has absolute value at most N. Finally, for that pair 
> > >(M,N), then, assuming my my work is correct (always a concern), 
> > >there are exactly 5 solutions. Find them.
> 
> I get M=11, N=10 and only 1 solution:
> 
> [ a, c, d, e, f, h, i, n,  o, p, q, r, s, t, u, x, z]
> [-8, 8,-1, 1,-6, 9, 6, 7,-10,-5, 5,-7, 3, 4, 0,-9,10]
> 
> Here are the counts for all values of M:
> 
> (M=0 ,N=2 ) ==>    24 [e,o,r,z]
> (M=1 ,N=3 ) ==>    24 [e,n,o,r,u,z]
> (M=2 ,N=4 ) ==>    12 [d,e,n,o,r,u,x,z]
> (M=3 ,N=6 ) ==>  1344 [d,e,i,n,o,r,s,t,u,x,z]
> (M=4 ,N=7 ) ==>  3912 [a,d,e,i,n,o,q,r,s,t,u,x,z]
> (M=5 ,N=7 ) ==>   606 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
> (M=6 ,N=7 ) ==>    41 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
> (M=7 ,N=7 ) ==>     2 [a,c,d,e,i,n,o,p,q,r,s,t,u,x,z]
> (M=8 ,N=9 ) ==>    39 [a,c,d,e,h,i,n,o,p,q,r,s,t,u,x,z]
> (M=9 ,N=9 ) ==>     9 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> (M=10,N=10) ==>    19 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> (M=11,N=10) ==>     1 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> (M=12,N=_ ) ==>     0 _
> (M=13,N=_ ) ==>     0 _
> (M=14,N=_ ) ==>     0 _
> (M=15,N=_ ) ==>     0 _
> (M=16,N=_ ) ==>     0 _
> 
> Cannot find any obvious error in my code: the code anyway is pretty simple, similar to the code I had shown up-thread.

No, sorry, it must be wrong...

Julio

[toc] | [prev] | [next] | [standalone]


#332078

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-18 05:29 -0700
Message-ID<5323892e-a804-41c9-9820-c27aa9ef0bd7@googlegroups.com>
In reply to#331984
On Sunday, April 17, 2016 at 4:34:38 AM UTC+2, Julio Di Egidio wrote:
> On Sunday, April 17, 2016 at 3:05:22 AM UTC+1, Julio Di Egidio wrote:
> > On Saturday, April 16, 2016 at 12:21:53 AM UTC+1, quasi wrote:
> > > quasi wrote:
> > > >
> > > >In case people want a little more ...
> > > >
> > > >Here's a French version of adventmagic's puzzle:
> > > >
> > > >Consider the 17 strings
> > > >
> > > >   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
> > > >   dix,onze,douze,treize,quatorze,quinze,seize
> > > >
> > > >representing the values 0 through 16 inclusive.
> > > >
> > > >Find the largest nonnegative integer M <= 16 such that,
> > > >using exist distinct values for the letter symbols, 
> > > >
> > > >   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
> > > 
> > > Minor revision:
> > > 
> > > You only need to assign values to the letters that are actually 
> > > used in your equations so, depending on the value of M, you may 
> > > not need to assign values to all of the above letter symbols. 
> > > 
> > > But note -- if it turns out that M > 9, you will, in fact, need 
> > > all of them.
> > 
> > I get we need all of them for M >= 9.
> > 
> > > >the M + 1 equations
> > > >
> > > >   z + e + r + o = 0
> > > >   ...
> > > >   ... 
> > > >   ? + ? + ... + ? = M
> > > >
> > > >are satisfied, and, for that M, find the least nonnegative 
> > > >integer N such that there is a solution such that each letter 
> > > >symbol has absolute value at most N. Finally, for that pair 
> > > >(M,N), then, assuming my my work is correct (always a concern), 
> > > >there are exactly 5 solutions. Find them.
> > 
> > I get M=11, N=10 and only 1 solution:
> > 
> > [ a, c, d, e, f, h, i, n,  o, p, q, r, s, t, u, x, z]
> > [-8, 8,-1, 1,-6, 9, 6, 7,-10,-5, 5,-7, 3, 4, 0,-9,10]
> > 
> > Here are the counts for all values of M:
> > 
> > (M=0 ,N=2 ) ==>    24 [e,o,r,z]
> > (M=1 ,N=3 ) ==>    24 [e,n,o,r,u,z]
> > (M=2 ,N=4 ) ==>    12 [d,e,n,o,r,u,x,z]
> > (M=3 ,N=6 ) ==>  1344 [d,e,i,n,o,r,s,t,u,x,z]
> > (M=4 ,N=7 ) ==>  3912 [a,d,e,i,n,o,q,r,s,t,u,x,z]
> > (M=5 ,N=7 ) ==>   606 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
> > (M=6 ,N=7 ) ==>    41 [a,c,d,e,i,n,o,q,r,s,t,u,x,z]
> > (M=7 ,N=7 ) ==>     2 [a,c,d,e,i,n,o,p,q,r,s,t,u,x,z]
> > (M=8 ,N=9 ) ==>    39 [a,c,d,e,h,i,n,o,p,q,r,s,t,u,x,z]
> > (M=9 ,N=9 ) ==>     9 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> > (M=10,N=10) ==>    19 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> > (M=11,N=10) ==>     1 [a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z]
> > (M=12,N=_ ) ==>     0 _
> > (M=13,N=_ ) ==>     0 _
> > (M=14,N=_ ) ==>     0 _
> > (M=15,N=_ ) ==>     0 _
> > (M=16,N=_ ) ==>     0 _
> > 
> > Cannot find any obvious error in my code: the code anyway is pretty simple, similar to the code I had shown up-thread.
> 
> No, sorry, it must be wrong...

For the chronicle, I have fixed my code: but all it does is exhaustive search, and now it just won't terminate in any reasonable amount of time, already for for M > 12 on my laptop...

Julio

[toc] | [prev] | [next] | [standalone]


#332196

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-20 04:07 -0700
Message-ID<a30e6728-d6cd-4f08-a29c-d141eedf43b4@googlegroups.com>
In reply to#332078
On Monday, April 18, 2016 at 2:29:58 PM UTC+2, Julio Di Egidio wrote:

> For the chronicle, I have fixed my code: but all it does is exhaustive search, and now it just won't terminate in any reasonable amount of time, already for for M > 12 on my laptop...

By tweaking the search strategy, I now get to M = 13, but further than that I'd really need an upper bound on N.

Can you guys suggest, given M, an upper bound on N (if there is one at all)?

Julio

[toc] | [prev] | [next] | [standalone]


#332213

Fromquasi <quasi@null.set>
Date2016-04-20 16:00 -0500
Message-ID<ouqfhb5lnci47b5vjg6botmk9m1dvcs1c9@4ax.com>
In reply to#332196
Julio Di Egidio wrote:
>Julio Di Egidio wrote:
>>
>>For the chronicle, I have fixed my code: but all it does is
>>exhaustive search, and now it just won't terminate in any
>>reasonable amount of time, already for for M > 12 on my laptop...
>
>By tweaking the search strategy, I now get to M = 13, but 
>further than that I'd really need an upper bound on N.

Presumably you mean the _least_ N.

For the French version, the least N for M = 13 is N = 16 (see 
the posts by Thomas).

quasi

[toc] | [prev] | [next] | [standalone]


#332215

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-20 13:12 -0700
Message-ID<45fa6a99-2c6f-4654-9ca2-b48c1d1aa9b9@googlegroups.com>
In reply to#332213
On Wednesday, April 20, 2016 at 10:02:10 PM UTC+2, quasi wrote:
> Julio Di Egidio wrote:
> >Julio Di Egidio wrote:
> >>
> >>For the chronicle, I have fixed my code: but all it does is
> >>exhaustive search, and now it just won't terminate in any
> >>reasonable amount of time, already for for M > 12 on my laptop...
> >
> >By tweaking the search strategy, I now get to M = 13, but 
> >further than that I'd really need an upper bound on N.
> 
> Presumably you mean the _least_ N.
> 
> For the French version, the least N for M = 13 is N = 16 (see 
> the posts by Thomas).

As said, I did get to (13,16).  The problem is with M > 13 where, since as I get it there is no solution (can you guys prove it?), there is no way to solve this programmatically unless there is an upper bound on N (yes, I mean on the least N), at least not with CLP/FD (constraint logic programming over finite domains).

So I'll ask again: Can you suggest, given M, an upper bound on the least N?  Is there such an upper bound at all?  If not, exhaustive search just cannot terminate.

Julio

[toc] | [prev] | [next] | [standalone]


#332220

FromThomas <n.t775@yahoo.de>
Date2016-04-21 00:03 +0200
Message-ID<nf8uc2$43g$1@news.albasani.net>
In reply to#332215
Am 20.04.2016 um 22:12 schrieb Julio Di Egidio:
> On Wednesday, April 20, 2016 at 10:02:10 PM UTC+2, quasi wrote:
>> Julio Di Egidio wrote:
>>> Julio Di Egidio wrote:
>>>>
>>>> For the chronicle, I have fixed my code: but all it does is
>>>> exhaustive search, and now it just won't terminate in any
>>>> reasonable amount of time, already for for M > 12 on my laptop...
>>>
>>> By tweaking the search strategy, I now get to M = 13, but
>>> further than that I'd really need an upper bound on N.
>>
>> Presumably you mean the _least_ N.
>>
>> For the French version, the least N for M = 13 is N = 16 (see
>> the posts by Thomas).
>
> As said, I did get to (13,16).  The problem is with M > 13 where, since as I get it there is no solution (can you guys prove it?), there is no way to solve this programmatically unless there is an upper bound on N (yes, I mean on the least N), at least not with CLP/FD (constraint logic programming over finite domains).

It's not so difficult, sort of like a puzzle, to find parametric 
equations for the solutions using ad hoc elimination and substituting, 
like 1 = un => u = 1-n and treating n as a parameter. At the stage M=14 
the relation e+n = 1 "popped out". Together with u = 1-n it follows that 
u = e. => no distinct integers for M>=14.

> So I'll ask again: Can you suggest, given M, an upper bound on the least N?  Is there such an upper bound at all?  If not, exhaustive search just cannot terminate.

An upper bound for the least N is easy to find if you have just one 
solution (a,c,d,...,x,z). Then max(|a|,|c|,|d|,...,|x|,|z|), call it N*, 
is such an upper bound! So, exhaustive search will work.


-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#332223

FromJulio Di Egidio <julio@diegidio.name>
Date2016-04-20 15:35 -0700
Message-ID<7575717e-a3ee-45b2-b394-f99d270d3be9@googlegroups.com>
In reply to#332220
On Thursday, April 21, 2016 at 12:03:53 AM UTC+2, Thomas wrote:
> Am 20.04.2016 um 22:12 schrieb Julio Di Egidio:
> > On Wednesday, April 20, 2016 at 10:02:10 PM UTC+2, quasi wrote:
> >> Julio Di Egidio wrote:
> >>> Julio Di Egidio wrote:
> >>>>
> >>>> For the chronicle, I have fixed my code: but all it does is
> >>>> exhaustive search, and now it just won't terminate in any
> >>>> reasonable amount of time, already for for M > 12 on my laptop...
> >>>
> >>> By tweaking the search strategy, I now get to M = 13, but
> >>> further than that I'd really need an upper bound on N.
> >>
> >> Presumably you mean the _least_ N.
> >>
> >> For the French version, the least N for M = 13 is N = 16 (see
> >> the posts by Thomas).
> >
> > As said, I did get to (13,16).  The problem is with M > 13 where, since as I get it there is no solution (can you guys prove it?), there is no way to solve this programmatically unless there is an upper bound on N (yes, I mean on the least N), at least not with CLP/FD (constraint logic programming over finite domains).
> 
> It's not so difficult, sort of like a puzzle, to find parametric 
> equations for the solutions using ad hoc elimination and substituting, 
> like 1 = un => u = 1-n and treating n as a parameter. At the stage M=14 
> the relation e+n = 1 "popped out". Together with u = 1-n it follows that 
> u = e. => no distinct integers for M>=14.

Cool, I hadn't seen that.

> > So I'll ask again: Can you suggest, given M, an upper bound on the least N?  Is there such an upper bound at all?  If not, exhaustive search just cannot terminate.
> 
> An upper bound for the least N is easy to find if you have just one 
> solution (a,c,d,...,x,z).

Well, of course...

Thank you,

Julio

[toc] | [prev] | [next] | [standalone]


#332072

FromThomas <n.t775@yahoo.de>
Date2016-04-18 11:52 +0200
Message-ID<nf2aou$j3v$1@news.albasani.net>
In reply to#331931
Am 16.04.2016 um 02:09 schrieb quasi:
> In case people want a little more ...
>
> Here's a French version of adventmagic's puzzle:
>
> Consider the 17 strings
>
>     zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
>     dix,onze,douze,treize,quatorze,quinze,seize
>
> representing the values 0 through 16 inclusive.
>
> Find the largest nonnegative integer M <= 16 such that,
> using exist distinct values for the letter symbols,
>
>     a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
>
> the M + 1 equations
>
>     z + e + r + o = 0
>     ...
>     ...
>     ? + ? + ... + ? = M
>
> are satisfied, and, for that M, find the least nonnegative
> integer N such that there is a solution such that each letter
> symbol has absolute value at most N. Finally, for that pair
> (M,N), then, assuming my my work is correct (always a concern),
> there are exactly 5 solutions. Find them.
>
> Remark:
>
> The French version isn't really any harder than the English
> version, so consider it just a "race" to see who can be the
> first to solve it.
>
> Ready, set, go!

So far, I got the following:

M=16: No solutions. The 17x17 solution matrix M only has rank=16 and the 
RHS-vector [0,1,2,...,16] does not lie in the range of the map x -> Mx.

M=14, 15: There is the relation u=e. Therefore no distinctness.

M=13: I have to check that. There is a 3-parameter family of solutions. 
However there is still the question of distinctness.


>
> quasi
>


-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#332077

FromThomas <n.t775@yahoo.de>
Date2016-04-18 13:56 +0200
Message-ID<nf2i1f$120$1@news.albasani.net>
In reply to#332072
Am 18.04.2016 um 11:52 schrieb Thomas:
> Am 16.04.2016 um 02:09 schrieb quasi:
>> In case people want a little more ...
>>
>> Here's a French version of adventmagic's puzzle:
>>
>> Consider the 17 strings
>>
>>     zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
>>     dix,onze,douze,treize,quatorze,quinze,seize
>>
>> representing the values 0 through 16 inclusive.
>>
>> Find the largest nonnegative integer M <= 16 such that,
>> using exist distinct values for the letter symbols,
>>
>>     a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
>>
>> the M + 1 equations
>>
>>     z + e + r + o = 0
>>     ...
>>     ...
>>     ? + ? + ... + ? = M
>>
>> are satisfied, and, for that M, find the least nonnegative
>> integer N such that there is a solution such that each letter
>> symbol has absolute value at most N. Finally, for that pair
>> (M,N), then, assuming my my work is correct (always a concern),
>> there are exactly 5 solutions. Find them.
>>
>> Remark:
>>
>> The French version isn't really any harder than the English
>> version, so consider it just a "race" to see who can be the
>> first to solve it.
>>
>> Ready, set, go!
>
> So far, I got the following:
>
> M=16: No solutions. The 17x17 solution matrix M only has rank=16 and the
> RHS-vector [0,1,2,...,16] does not lie in the range of the map x -> Mx.
>
> M=14, 15: There is the relation u=e. Therefore no distinctness.
>
> M=13: I have to check that. There is a 3-parameter family of solutions.
> However there is still the question of distinctness.

There are solutions with distinct integer values, for example:

a = - 2
c = - 4
d = -32
e = - 1
f =   9
h = -49
i =  24
n = -16
o =  26
p =  28
q =   1
r = -27
s = -36
t =  16
u =  17
x =  18
z =   2

In that case N=49. I more or less found that by randomly picking my 
three parameters a, e and z and checking for distinctness. But one can 
surely do better (I'll try to set up a software to systematically search 
for the optimal solutions).

-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#332086

FromThomas <n.t775@yahoo.de>
Date2016-04-18 16:29 +0200
Message-ID<nf2r09$igi$1@news.albasani.net>
In reply to#332077
Am 18.04.2016 um 13:56 schrieb Thomas:
> Am 18.04.2016 um 11:52 schrieb Thomas:
>> Am 16.04.2016 um 02:09 schrieb quasi:
>>> In case people want a little more ...
>>>
>>> Here's a French version of adventmagic's puzzle:
>>>
>>> Consider the 17 strings
>>>
>>>     zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
>>>     dix,onze,douze,treize,quatorze,quinze,seize
>>>
>>> representing the values 0 through 16 inclusive.
>>>
>>> Find the largest nonnegative integer M <= 16 such that,
>>> using exist distinct values for the letter symbols,
>>>
>>>     a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
>>>
>>> the M + 1 equations
>>>
>>>     z + e + r + o = 0
>>>     ...
>>>     ...
>>>     ? + ? + ... + ? = M
>>>
>>> are satisfied, and, for that M, find the least nonnegative
>>> integer N such that there is a solution such that each letter
>>> symbol has absolute value at most N. Finally, for that pair
>>> (M,N), then, assuming my my work is correct (always a concern),
>>> there are exactly 5 solutions. Find them.
>>>
>>> Remark:
>>>
>>> The French version isn't really any harder than the English
>>> version, so consider it just a "race" to see who can be the
>>> first to solve it.
>>>
>>> Ready, set, go!
>>
>> So far, I got the following:
>>
>> M=16: No solutions. The 17x17 solution matrix M only has rank=16 and the
>> RHS-vector [0,1,2,...,16] does not lie in the range of the map x -> Mx.
>>
>> M=14, 15: There is the relation u=e. Therefore no distinctness.
>>
>> M=13: I have to check that. There is a 3-parameter family of solutions.
>> However there is still the question of distinctness.
>
> There are solutions with distinct integer values, for example:
>
> a = - 2
> c = - 4
> d = -32
> e = - 1
> f =   9
> h = -49
> i =  24
> n = -16
> o =  26
> p =  28
> q =   1
> r = -27
> s = -36
> t =  16
> u =  17
> x =  18
> z =   2
>
> In that case N=49. I more or less found that by randomly picking my
> three parameters a, e and z and checking for distinctness. But one can
> surely do better (I'll try to set up a software to systematically search
> for the optimal solutions).
>

For M=13 I found 5 solutions with N=16. Those solutions are uniquely 
determined by the triplets (a,e,z) =

1. (-2, -1, 14)
2. ( 1, -1, 14)
3. ( 5, -1, 14)
4. (10, -1, 14)
5. (15, -1, 14)

-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#332138

FromThomas <n.t775@yahoo.de>
Date2016-04-19 10:58 +0200
Message-ID<nf4rvs$cd3$1@news.albasani.net>
In reply to#332086
Am 18.04.2016 um 16:29 schrieb Thomas:

>>
>
> For M=13 I found 5 solutions with N=16. Those solutions are uniquely
> determined by the triplets (a,e,z) =
>
> 1. (-2, -1, 14)
> 2. ( 1, -1, 14)
> 3. ( 5, -1, 14)
> 4. (10, -1, 14)
> 5. (15, -1, 14)

And for M=15, if you don't require distinctness, there is a unique 
minimal solution (N=30) where all integers are different except for e=u:

a =  22
c = -1
d = -20
e =  11
f = -3
h = -28
i =  30
n = -10
o =  23
p =  25
q = -14
r = -21
s = -24
t = -5
u =  11
x =   0
z = -13

-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#332153

Fromquasi <quasi@null.set>
Date2016-04-19 11:45 -0500
Message-ID<8qnchbtvfhhnl5qnldpn6phcn6j9h7g194@4ax.com>
In reply to#332086
Thomas wrote:
>Thomas wrote:
>>Thomas wrote:
>>>quasi wrote:
>>>>
>>>>In case people want a little more ...
>>>>
>>>>Here's a French version of adventmagic's puzzle:
>>>>
>>>>Consider the 17 strings
>>>>
>>>>   zero,un,deux,trois,quatre,cinq,six,sept,huit,neuf,
>>>>   dix,onze,douze,treize,quatorze,quinze,seize
>>>>
>>>>representing the values 0 through 16 inclusive.
>>>>
>>>>Find the largest nonnegative integer M <= 16 such that,
>>>>using exist distinct values for the letter symbols,
>>>>
>>>>   a,c,d,e,f,h,i,n,o,p,q,r,s,t,u,x,z
>>>>
>>>>the M + 1 equations
>>>>
>>>>   z + e + r + o = 0
>>>>   ...
>>>>   ...
>>>>   ? + ? + ... + ? = M
>>>>
>>>>are satisfied, and, for that M, find the least nonnegative
>>>>integer N such that there is a solution such that each letter
>>>>symbol has absolute value at most N. Finally, for that pair
>>>>(M,N), then, assuming my my work is correct (always a concern),
>>>>there are exactly 5 solutions. Find them.
>>>>
>>>>Remark:
>>>>
>>>>The French version isn't really any harder than the English
>>>>version, so consider it just a "race" to see who can be the
>>>>first to solve it.
>>>>
>>>>Ready, set, go!
>>>
>>>So far, I got the following:
>>>
>>>M=16: No solutions. The 17x17 solution matrix M only has 
>>>rank=16 and the RHS-vector [0,1,2,...,16] does not lie in the 
>>>range of the map x -> Mx.
>>>
>>>M=14, 15: There is the relation u=e. Therefore no distinctness.
>>>
>>>M=13: I have to check that. There is a 3-parameter family of
>>>solutions. However there is still the question of distinctness.
>>
>>There are solutions with distinct integer values, for example:
>>
>> a = - 2
>> c = - 4
>> d = -32
>> e = - 1
>> f =   9
>> h = -49
>> i =  24
>> n = -16
>> o =  26
>> p =  28
>> q =   1
>> r = -27
>> s = -36
>> t =  16
>> u =  17
>> x =  18
>> z =   2
>>
>>In that case N=49. I more or less found that by randomly 
>>picking my three parameters a, e and z and checking for
>>distinctness. But one can surely do better (I'll try to set 
>>up a software to systematically search for the optimal 
>>solutions).
>
>For M=13 I found 5 solutions with N=16. Those solutions are 
>uniquely determined by the triplets (a,e,z) =
>
>1. (-2, -1, 14)
>2. ( 1, -1, 14)
>3. ( 5, -1, 14)
>4. (10, -1, 14)
>5. (15, -1, 14)

Those results match mine.

Very good.

quasi

[toc] | [prev] | [next] | [standalone]


#332019

FromPfsszxt <Pfsszxt@aol.com>
Date2016-04-17 08:07 -0500
Message-ID<57138A91.7090609@aol.com>
In reply to#331808
On 4/14/2016 11:49 AM, adventmagic@gmail.com wrote:
>
> I've been writing programs that solve themselves.
>
> (Numbers next to words are assigned to corresponding letters in the words)
>
> This is the program I wrote that solved the problem: http://ideone.com/XUUMt2
>
   No doubt this will really catch on---probably amke you famous
in weeks!

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | sci.math


csiph-web