Jean-Michel

Dr. jean-michel collard

70 Reputation

7 Badges

1 years, 9 days
Cergy (suburb of Paris), France
Ph.D. in Mathematics (Differentiel Topology) Master Degree in Cosmology

MaplePrimes Activity


These are replies submitted by Jean-Michel

@dharr No Dharr I refer EXACTLY to the sequence given in the webpage I pasted here.

And it DOES work particularly well with GuessRecurrence.

That's it !

Take care and best :)

Jean-Michel

@dharr 

Go to OEIS #151292 then have a look at this webpage (it's in what's new in Maple 2026)

https://www.maplesoft.com/products/maple/new_features/Maple2026/PDFs/Maple2026-LinearRecurrenceEquations.pdf

everything is ok as far as I can read :)

Now tell me what I am doing wrong because it's word by word in the named webpage.

I don't understand, truly.

Best,

Jean-Michel 

@acer 

Thank you Acer.

I *always* forget this option to solve 'allsolutions'.

Have a great day,

Jean-Michel

Hi all :)

is there another way to do Mathematics other than THE Bourbaki way?

this is in fact a question and not a comment but...MaplePrimes is not the

place to debate on this.

Best,

JM

@janhardo 

Hello le petit Hollandais Heineken"s drinker :)
restart;
with(Physics);
Define(a[i]);
Error, (in Physics:-Define) expected indices of type: spacetime, space, tetrad, spinor, gauge, su2, su3, su2matrix, su3matrix; but the index i in a[i] is not of those types

maple2026.0 

hello,

where can I download this new "masterpiece" ?

the link sent via e-mail is for 2025.2.

thank you and regards,

JM

@janhardo 

Of course you are a Dutschman i can smell beers :)

Head is Part[0] so i guess in Maple it should be op(0,..) ?

anyway your module does not work for all exemples i tested.

i have no specific goal, it was for "fun", let say so.

Tschüss,

JM

@janhardo 

S := [a, [[[[[a]]]]], 2*a + 3, [2, a], 1/a];
                [                                 1]
           S := [a, [[[[[a]]]]], 2 a + 3, [2, a], -]
                [                                 a]

FindPositions(S, a);
           [[1], [2, 1, 1, 1, 1, 1], [3, 1], [4, 2]]

NULL;
NULL;
FindPositions(S, 3);
                            [[3, 2]]

NULL;
FindPositions(S, 2*a);
                            [[3, 1]]

FindPositions(S, 1/a);
                             [[5]]

FindPositions(S, 1/a);
                             [[5]]

NULL;
M := [[a], [1 + a], [a, [[a]]], a];
               M := [[a], [1 + a], [a, [[a]]], a]

FindPositions[M, a];
        FindPositions[[[a], [1 + a], [a, [[a]]], a], a]

??

take care my friend og Belgium or Nederland:)

best,

JM

@janhardo 

Look at that :

N := [a, a, 1 + a, [[1/a] + a^2, [a]]];
                   [             [[1]    2     ]]
              N := [a, a, 1 + a, [[-] + a , [a]]]
                   [             [[a]          ]]

FindPositions(N, a);
                 [[1], [2], [3, 2], [4, 2, 1]]

Position(N, a);
                 [[1], [2], [3, 2], [4, 2, 1]]

So we have 6 'a' at different positions and FindPositions and Position return

only 4 positions. this is not possible :)

Have a Kriek Cherry now you will feel better :)

Best,

JM

@janhardo 

@janhardo

re re ,

M := [[a], [[a, [a]], a]]

FindPositions(M, a);
           [[1, 1], [2, 1, 1], [2, 1, 2, 1], [2, 2]]

[[2,2]] should be [4,1] , right ? 

thanks and drink a 'Mort Subite' for me :)

JM

@janhardo 

Re janhardo,

If you could avoid to put commentaries in Flemisch/Dutch it could help me

what you actually do :)

thank you

JM

@janhardo 

Hello the "search" man :)

Great work you did !

however there are at leasr 2 fatal errors :

Error, `FindPositions` does not evaluate to a module

Error, (in fprintf) integer expected for integer format

where is the module ?

thanks and tchüss,

JM

@janhardo 

well done janhardo but at line 1:

Error, illegal use of an object as a name

I will see that tomorrow morning because tonite i'm too tired :) and it's only 9:30 pm

Tschüss,

JM

@janhardo 

Hello,

I am afraid that I can't understand English enough to comprehend

your question...

Anyway here is a link toward Position in Mathematica.

I think it's quite difficult to extend this to Maple,very difficult...

I pass my whole morning on that but didn't progress at all.

Tschüss,

JM

https://reference.wolfram.com/language/ref/Position.html

@janhardo 

I know that Position is a complicated function.

Position[expr,pattern] gives a list of the positions at which objects \
matching pattern appear in expr.  (your program)

Position[expr,pattern,levelspec] finds only objects that appear on \
levels specified by levelspec. 

Position[expr,pattern,levelspec,n] gives the positions of the first n \
objects found. 

"Position[\!\(\*StyleBox[\"pattern\", \"TI\"]\)] represents an \
operator form of Position that can be applied to an expression."

I will try later on to extend your function Position in Maple.

Tschüss,

JM

1 2 3 Page 1 of 3