Skip to content
#

project-euler

Here are 40 public repositories matching this topic...

Find the number of triangle words in the provided array. A PDF File is available for viewing the words. A triangle word is whose word value is a triangle number. A word value is the sum of numbers corresponding to its alphabetical position. For example, SKY has a word value of 55, because 19 + 11 + 25 = 55. SKY is a triangle word, because 55 is …

  • Updated Sep 25, 2022
  • HTML

Triangle Numbers are generated by the formula Tn = n(n+1)/2 - Its numbers are 1, 3, 6, 10, 15,.... Pentagonal Numbers are generated by the formula Pn = n(3n-1)/2 - Its numbers are 1, 5, 12, 22, 35,.... Hexagonal numbers are generated by the formula Hn = n(2n-1) - Its numbers are 1, 6, 15, 28, 45,.... It can be verified that T285 = P165 = H143 = …

  • Updated Oct 7, 2022
  • HTML

Improve this page

Add a description, image, and links to the project-euler topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the project-euler topic, visit your repo's landing page and select "manage topics."

Learn more