tc1017

WSQ08…

Finally, ladies and gentleman, here you have my last programm for Partial 2.

The objective was to get the palyndrome and the lycherel numbers from a range of numbers asked to the user. It was a disaster. It did not worked, but I do not consider it a failure because after more than 70 lines of coding I can say I learned a lot. First of all because I finally worked with vectors, I did not wanted to because I thought they were too complicated. I must thank Damian for helping me get along with vectors. Then as everyone knows we had to import another library and we also needed to know how to make it work, that was fine thanks to the video of Ken. The complexity of this programm was that it was too long, I got lost and therefore I could not fix my coding. At least I can say I learned lots of new mathematical concepts during this partial like: Palindromes, Lycherel and Babylonian Method. Here is my code, the video of Ken and definition of the Palindrome/Lycherel numbers.

Links:

https://mattmccutchen.net/bigint/

http://mathworld.wolfram.com/LychrelNumber.html

http://mathworld.wolfram.com/PalindromicNumber.html

 

GitHub: https://gist.github.com/CesarR99/1b256eebe360b39100123ca48ea25727

Standard

Leave a comment