«« Next » « Previous
«« Next » « Previous

Link Details

Link 76367 thumbnail

By sembee
via fsharp.it
Submitted: Apr 17 / 09:34

Project Euler's problem 45 is related to figurate numbers, i.e. numbers that can be represented as geometrical patterns. In particular, we are going to find a number greater than 40755 that is also triangular, pentagonal and hexagonal at the same time. The proposed solution exploits some mathematical properties of these numbers and is made of a few lines of F# code.
  • 4
  • 0
  • 97
  • 12

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)