Matt C Anderson

60 Reputation

0 Badges

3 years, 122 days

MaplePrimes Activity

These are replies submitted by Matt C Anderson

Hi all,

Thank you for all the kind replies regarding this Maple computer code.




@acer Thank you for writing this code.  I have submitted it to the Online Encyclopedia of Integer Sequences, specifically Let me know if you want credit for writing the Maple code.

Okay, this question is already answered.  My only advice is to try -


This is the greatest common denominator, and it simplifies the expression somewhat.

For what its worth.


@Kitonum Hi Kitonium, thank you for taking the time to modify your Maple code for me.  I was able to compile it.  Regards, Matt

@Kitonum Hi there,  Thank you for taking the time to write 2 procedures.  I appreciate that.  Unfortunately, I only have Maple  17, and was unable to run the code.  See attachments - 


Again, thanks.


I am pretty sure that an integer has an odd number of divisors if and only if that integer is a square.


@Carl Love Hi Carl.  Thank you for your useful suggestion.



@Carl Love Thanks for the comment, Carl.  I did not do a thorough search of the library.  Matt

@Ronan Thank you for this useful link.  The oral talk by Norman Robert was not all the way understood by me.  As far as I know ther is no written proof of the Goldbach conjecture.    For those not familiar, conjecture means probrably true.

Thank you again for the link.


@Carl Love thank you for a good comment Carl.

Here is a short Maple page summarizing the answers.



@tomleslie Thank you for your input about this 'Reverse and Add' sequence.  See for the 'R(n)' reverse sequence.

@BOverdorp Thank you for posting to MaplePrimes.  Although I am not able to answer your question, here is my attempt.  I was unaple to produce any good plots for you.

@vv Thank you for your input.  Maybee the expand() command can be helpful.  See help files.

Regards, Matthew

Hi MaplePrimes,

Here is a mathematical puzzle,
Find the next number -
3, 5, 8, 13, 22, ?
Here is an answer in Maple code -

a := Vector[row](9)

a[1] := 3; for i from 2 to 9 do a[i] := 2*a[i-1]-i+1 end do


***** end Maple code *****

[3,5,8,13,22,39 ... ]




@Carl Love Thank you for making more code regarding this topic.  Unfortunately, I receive an error on my Maple 13 machine.  I see

Error, invalid arrow procedure

after the part that goes 
1, Lychrel,
there is a red box around
() -> if
I don't think I can fix this error.  
Maybee someone else can verify that this code works on newer Maple versions.

Also, see

This is the Online Encyclopedia of Integer Sequences for this 196 sequence.


1 2 3 Page 2 of 3