Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

You didn't wtite it like that before!Here's the new output:

```
{{24, 0, 0, 120, 0, 140, 0, -15, 0, -236},
{-1020, -430, -77, 188, -802, -515, -743, -339, 202, -203},
{-367, -461, -955, 317, 400, -72, 603, -923, 229, 286},
{40, 509, -464, -705, 1310, -805, -76, -647, 229, -769},
{1320, -100, 177, 585, -1344, -742, 188, 50, 8, 74},
{-436, 491, -1733, -347, -118, 380, 282, 505, -200, -28},
{419, -62, -756, -270, 1352, 97, -1105, 1090, -248, -102},
{-222, 295, 774, -878, -429, 788, -669, -966, 355, 0},
{-19, -1712, 637, -920, -43, -34, 34, 628, -199, -609}}
```

*Last edited by anonimnystefy (2012-04-12 00:04:02)*

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

An extra character got added!

This is correct.

```
test[l_,dig_]:=Module[{a},a=IdentityMatrix[Length[l]];
a=Append[a,10^dig*N[l,dig]];
a=Transpose[a];
a=Rationalize[a,10^-dig];
a=LatticeReduce[a];
Take[a,All,{1,Length[l]}]];
```

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

```
{{24, 0, 0, 120, 0, 140, 0, -15, 0},
{-1020, -430, -77, 188, -802, -515, -743, -339, 202},
{-367, -461, -955, 317, 400, -72, 603, -923, 229},
{40, 509, -464, -705, 1310, -805, -76, -647, 229},
{1320, -100, 177, 585, -1344, -742, 188, 50, 8},
{-436, 491, -1733, -347, -118, 380, 282, 505, -200},
{419, -62, -756, -270, 1352, 97, -1105, 1090, -248},
{-222, 295, 774, -878, -429, 788, -669, -966, 355},
{-19, -1712, 637, -920, -43, -34, 34, 628, -199}}
```

*Last edited by anonimnystefy (2012-04-12 00:11:30)*

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Now run this:

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

{{24, 0, 0, 120, 0, 140, 0, -15, 0},

{-1020, -430, -77, 188, -802, -515, -743, -339,

202}, {-367, -461, -955, 317, 400, -72, 603, -923, 229}, {40,

509, -464, -705, 1310, -805, -76, -647, 229}, {1320, -100, 177,

585, -1344, -742, 188, 50, 8}, {-436, 491, -1733, -347, -118, 380,

282, 505, -200}, {419, -62, -756, -270, 1352, 97, -1105,

1090, -248}, {-222, 295, 774, -878, -429, 788, -669, -966,

355}, {-19, -1712, 637, -920, -43, -34, 34, 628, -199}}

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

What do you notice about post 203 and 205?

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

The first row and a part of the second are the same.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Look only for rows that are exactly the same.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

They are all the same!!!

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Okay, you have done something wrong:

Enter these and check rows:

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

bobbym wrote:

pslq[l_,dig_]:=Module[{a},

a=IdentityMatrix[Length[l]];

a=Append[a,10^dig*N[l,dig]];

a=Transpose[a];

a=Rationalize[a,10^-dig];

a=LatticeReduce[a];

Take[a,All,{1,Length[l]}]

];

Hi bobbym

Why are you multiplying dig by 10^dig?

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

A PSLQ works to some digit precision. You fit a constant that you have determined experimentally to some number of decimal places. That is an attempt to work to the precision of the constant that is being fit.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

But why multiply dig by 10^dig?

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

That should be obvious.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

It is not.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Multiplying by that integerizes the vector that you are using. After all the PSLQ is a rational fit for a constant!

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

But what good would the number 25*10^25 possibly do to you?

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Each constant in the vector is turned into an integer part and a fractional part.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

But dig is already an integer.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

But the constants in the vector are not!

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

I understand that. So there is no reason to multiply dig by 10^dig, only the vector.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

Hmmm. But I never do multiply did by 10^dig?!

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

a=Append[a,10^dig*N[l,dig]];

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 93,923

That multiplies the vector by 10^dig.

**In mathematics, you don't understand things. You just get used to them.**

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,918

Wait, the second parameter for the function N[] is to how many digits we round down?

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline